CVE-2026-99256

Not scored yetLast modified Nov 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

dm cache: fix issue with background work locking

dm cache used a rw_semaphore for background_work_lock. Write locks on rw_semaphores have strict owner semantics, but there was no guarantee that the process that locked background_work_lock was the same process that unlocked it. This can be easily seen using a kernel compiled with CONFIG_DEBUG_RWSEMS. Given a dm cache device <cache>, run: 'dmsetup suspend <cache> && dmsetup resume <cache>'. This will trigger a kernel warning:

DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE))

triggered by cache_resume(). To fix this, switch from a rw_semaphore to a spinlock and a wait queue. dm cache already has a wait queue and associated counter, migration_wait and nr_allocated_migrations, that was getting woken up when background work was getting completed, but wasn't actually used by anything. This is replaced by the background_work queue and counter.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < 0c7a8cad7c96012a9157a189649e569d0390f384; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < f5db935d257023c3ef410bd39163b949b0e5a55d; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < 6290507ecc0dd6dd40759729cbbbd49b1d2a63c4; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < 8433fd005c25fd127021f67c9144a879fb585572; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < 2f2cfa16dd0f4179bb988139dd37d00a42324f6c; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < 73df2ff409f3db95029982fe3656329568e3715d; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < 104f09e02038b0fc6bbb718b3976af029e15c1d0; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < bc9781c0247de107876f32929f1637db93a42b34
LinuxLinux4.12

References

Timeline

Published
Nov 3, 2026
Last modified
Nov 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99257In the Linux kernel, the following vulnerability has been resolved: gpio: shared: gracefully handle no-device lookup of shared GPIOs We usCVE-2026-99258In the Linux kernel, the following vulnerability has been resolved: x86/hyperv: Avoid using per-cpu output page in hv_apicid_to_vp_index() CVE-2026-99259In the Linux kernel, the following vulnerability has been resolved: soc/tegra: pmc: Fix uninitialised clock rate For legacy 32-bit Tegra dCVE-2026-99268.3Heap buffer overflow in ANGLE in Google Chrome prior to 148.0.7778.216 allowed a remote attacker who had compromised the renderer process toCVE-2026-99260In the Linux kernel, the following vulnerability has been resolved: ntfs: fix resident conversion in ntfs_new_attr_flags When setting sparCVE-2026-99261In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: correct reservation fence slots for userq per-vm BOs evictiCVE-2026-992697.8In the Linux kernel, the following vulnerability has been resolved: sched_ext: Wait for SCX_OPSS_DISPATCHING before moving tasks off DSQs CVE-2026-99278.8Use after free in ANGLE in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code inside a sandbox via a CVE-2026-992708.1In the Linux kernel, the following vulnerability has been resolved: tcp: Fix potential UAF in reqsk_timer_handler(). When TCP socket migraCVE-2026-99271In the Linux kernel, the following vulnerability has been resolved: ALSA: line6: Clear prev_fbuf on capture buffer release A KASAN slab-usCVE-2026-99272In the Linux kernel, the following vulnerability has been resolved: smb: client: validate the data area in SMB2_read() SMB2_read() copies CVE-2026-99273In the Linux kernel, the following vulnerability has been resolved: ksmbd: reserve space for the UTF-16 terminator in stream info smb_strt
CVE-2026-99256: Unscored | Vulnix