VDB

CVE-2025-68240

CVE-2025-68240 PUBLISHED

nilfs2: avoid having an active sc_timer before freeing sci

Reported by linux · Published December 16, 2025

In the Linux kernel, the following vulnerability has been resolved: nilfs2: avoid having an active sc_timer before freeing sci Because kthread_stop did not stop sc_task properly and returned -EINTR, the sc_timer was not properly closed, ultimately causing the problem [1] reported by syzbot when freeing sci due to the sc_timer not being closed. Because the thread sc_task main function nilfs_segctor_thread() returns 0 when it succeeds, when the return value of kthread_stop() is not 0 in nilfs_segctor_destroy(), we believe that it has not properly closed sc_timer. We use timer_shutdown_sync() to sync wait for sc_timer to shutdown, and set the value of sc_task to NULL under the protection of lock sc_state_lock, so as to avoid the issue caused by sc_timer not being properly shutdowned. [1] ODEBUG: free active (active state 0) object: 00000000dacb411a object type: timer_list hint: nilfs_construction_timeout Call trace: nilfs_segctor_destroy fs/nilfs2/segment.c:2811 [inline] nilfs_detach_log_writer+0x668/0x8cc fs/nilfs2/segment.c:2877 nilfs_put_super+0x4c/0x12c fs/nilfs2/super.c:509

EPSS 0.20% · 9.4th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux9a6b60cb147d53968753a34805211d2e5e08c027, 36049e81dc7f077e0e24d5b9688a7458beacef8f, 2f65799e2a736d556d306440c4e1e8906736117a

Risk scores

EPSS Score
0.20%
9.4th percentile

Affected products

VendorProductVersions
LinuxLinux3f66cc261ccb54a8e4d8d5aa51c389c19453b00c, 3f66cc261ccb54a8e4d8d5aa51c389c19453b00c, 3f66cc261ccb54a8e4d8d5aa51c389c19453b00c
LinuxLinux6.12, 0, 6.12.59
LinuxLinux6.12.59, 0, 6.17.9
linuxlinux_kernel6.12, 6.12, 6.12

Timeline

  • Dec 16, 2025 CVE Published
  • Dec 17, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (186 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (192 in total, the first dated here)
  • Jun 17, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-68240
vulnetix vdb fixes CVE-2025-68240

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68240/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›