CVE-2025-68324 json
scsi: imm: Fix use-after-free bug caused by unfinished delayed work
published 2025-12-18 10 mo ago modified 2026-10-30 10 d ago also EUVD-2025-204268
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
scsi: imm: Fix use-after-free bug caused by unfinished delayed work
The delayed work item 'imm_tq' is initialized in imm_attach() and scheduled via imm_queuecommand() for processing SCSI commands. When the IMM parallel port SCSI host adapter is detached through imm_detach(), the imm_struct device instance is deallocated.
However, the delayed work might still be pending or executing when imm_detach() is called, leading to use-after-free bugs when the work function imm_interrupt() accesses the already freed imm_struct memory.
The race condition can occur as follows:
CPU 0(detach thread) | CPU 1 | imm_queuecommand() | imm_queuecommand_lck() imm_detach() | schedule_delayed_work() kfree(dev) //FREE | imm_interrupt() | dev = container_of(...) //USE dev-> //USE
Add disable_delayed_work_sync() in imm_detach() to guarantee proper cancellation of the delayed work item before imm_struct is deallocated.
Patch / fix
- Linux Linux 6.1.191, 6.6.160, 6.12.63, 6.17.13, 6.18.2, 6.19
- linux Debian 13 6.12.63-1
- linux Debian 14 6.17.13-1
debian advisories DEBIAN-CVE-2025-68324
- linux Ubuntu 25.10 6.17.0-19.19
- linux-aws Ubuntu 25.10 6.17.0-1009.9
- linux-gcp Ubuntu 25.10 6.17.0-1009.9
- linux-azure Ubuntu 25.10 6.17.0-1010.10
- linux-raspi Ubuntu 25.10 6.17.0-1010.10
- linux-riscv Ubuntu 25.10 6.17.0-19.19.1
- linux-oracle Ubuntu 25.10 6.17.0-1009.9
- linux-aws-6.17 Ubuntu 24.04 LTS 6.17.0-1009.9~24.04.2
ubuntu advisories UBUNTU-CVE-2025-68324
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-48.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-48.1
- kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.172.2
- kernel-syms SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.172.1
- kernel-source SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.172.2
- kernel-default SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +3 more 5.14.21-150500.55.172.2
- kernel-obs-build SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.172.2
- kernel-default-base SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.172.2.150500.6.81.2
suse advisories SUSE-SU-2026:2839-1SUSE-SU-2026:22433-1SUSE-SU-2026:22458-1SUSE-SU-2026:2658-1SUSE-SU-2026:2638-1SUSE-SU-2026:2632-1
- kernel-source-longterm openSUSE Tumbleweed 6.18.16-1.1
- kernel-source openSUSE Tumbleweed 6.18.2-1.1
opensuse advisories openSUSE-SU-2026:10301-1openSUSE-SU-2025:15836-1
- git.kernel.org/stable/c/cfd561e8df5f46fc1c9d54885165a60e63831c14 commit
- git.kernel.org/stable/c/9a8e53154353580d53f7f86a253927e41294017e commit
- git.kernel.org/stable/c/31ab2aad7a7b7501e904a09bf361e44671f66092 commit
- git.kernel.org/stable/c/48dd41fa2d6c6a0c50e714deeba06ffe7f91961b commit
- git.kernel.org/stable/c/9e434426cc23ad5e2aad649327b59aea00294b13 commit
- git.kernel.org/stable/c/ab58153ec64fa3fc9aea09ca09dc9322e0b54a7c commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-68324 updated cvss 7.1
kernel: Linux kernel: Denial of Service via use-after-free in IMM SCSI host adapter
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/cfd561e8df5f46fc1c9d54885165a60e63831c14
- git.kernel.org /stable/c/9a8e53154353580d53f7f86a253927e41294017e
- git.kernel.org /stable/c/31ab2aad7a7b7501e904a09bf361e44671f66092
- git.kernel.org /stable/c/48dd41fa2d6c6a0c50e714deeba06ffe7f91961b
- git.kernel.org /stable/c/9e434426cc23ad5e2aad649327b59aea00294b13
- git.kernel.org /stable/c/ab58153ec64fa3fc9aea09ca09dc9322e0b54a7c
Sources
- CVE List CVE-2025-68324
- NVD CVE-2025-68324
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.