cve.bz

CVE-2024-26696 Improper Locking

5.5 mediumEPSS 0.2%Fix available

Medium (5.5). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix hang in nilfs_lookup_dirty_data_buffers() Syzbot reported a hang issue in migrate_pages_batch() called by mbind() and nilfs_lookup_dirty_data_buffers() called in the log writer of nilfs2. While migrate_pages_batch() locks a folio and waits for the writeback to complete, the log writer thread that should bring the writeback to completion picks up the folio being written back in nilfs_lookup_dirty_data_buffers() that it calls for subsequent log creation and was trying to lock the folio. Thus causing a deadlock. In the first place, it is unexpected that folios/pages in the middle of writeback will be updated and become dirty. Nilfs2 adds a checksum to verify the validity of the log being written and uses it for recovery at mount, so data changes during writeback are suppressed. Since this is broken, an unclean shutdown could potentially cause recovery to fail. Investigation revealed that the root cause is that the wait for writeback completion in nilfs_page_mkwrite() is conditional, and if the backing device does not require stable writes, data may be modified without waiting. Fix these issues by making nilfs_page_mkwrite() wait for writeback to finish regardless of the stable write requirement of the backing device.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-667 Improper Locking
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-26696 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26696?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26696?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-26696 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux3.9 and later

Fixed in

ProductRelease lineFixed in
Linux4.194.19.307
Linux5.45.4.269
Linux5.105.10.210
Linux5.155.15.149
Linux6.16.1.79
Linux6.66.6.18
Linux6.76.7.6
Linuxlater releases6.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.316-1DLA-3840-1
Debian10linux-5.105.10.216-1~deb10u1DLA-3842-1
Debian11linux5.10.216-1DSA-5681-1
Debian12linux6.1.82-1DEBIAN-CVE-2024-26696
Debian13, 14linux6.7.7-1DEBIAN-CVE-2024-26696
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-26696
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-26696
Ubuntu20.04:LTSlinux5.4.0-181.201UBUNTU-CVE-2024-26696 USN-6767-1
Ubuntu20.04:LTSlinux-aws5.4.0-1124.134UBUNTU-CVE-2024-26696 USN-6767-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1061.67~20.04.1UBUNTU-CVE-2024-26696 USN-6766-3
Ubuntu20.04:LTSlinux-azure5.4.0-1129.136UBUNTU-CVE-2024-26696 USN-6767-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1063.72~20.04.1UBUNTU-CVE-2024-26696 USN-6766-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1063.72~20.04.1.1USN-6766-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1084.91UBUNTU-CVE-2024-26696 USN-6767-2
Ubuntu20.04:LTSlinux-gcp5.4.0-1128.137UBUNTU-CVE-2024-26696 USN-6767-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1059.67~20.04.1UBUNTU-CVE-2024-26696 USN-6766-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2024-26696
62 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_141-150500.11.5.1SUSE-SU-2024:1663-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_131-150500.11.3.2SUSE-SU-2024:1659-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.52.1SUSE-SU-2024:1663-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5kernel-default-base5.14.21-150500.55.62.2.150500.6.27.2SUSE-SU-2024:1659-1
SUSELinux Enterprise Module for Basesystem 15 SP5kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
SUSELinux Enterprise Module for Development Tools 15 SP5kernel-docs, kernel-source, kernel-obs-build5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
SUSELinux Enterprise Module for Development Tools 15 SP5kernel-syms5.14.21-150500.55.62.1SUSE-SU-2024:1659-1
SUSELinux Enterprise Module for Public Cloud 15 SP5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.48.1SUSE-SU-2024:1490-1
SUSELinux Enterprise Module for Public Cloud 15 SP6kernel-azure, kernel-source-azure6.4.0-150600.8.5.4SUSE-SU-2024:2135-1
SUSELinux Enterprise Module for Public Cloud 15 SP6kernel-syms-azure6.4.0-150600.8.5.1SUSE-SU-2024:2135-1
SUSEReal Time Module 15 SP5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.52.1SUSE-SU-2024:1663-1
openSUSELeap 15.5dtb-aarch64, kernel-syms, kernel-obs-qa5.14.21-150500.55.62.1SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-64kb, kernel-docs, kernel-debug and 5 more5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.48.1SUSE-SU-2024:1490-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.62.2.150500.6.27.2SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.52.1SUSE-SU-2024:1663-1
openSUSELeap 15.6kernel-azure, kernel-source-azure6.4.0-150600.8.5.4SUSE-SU-2024:2135-1
openSUSELeap 15.6kernel-syms-azure6.4.0-150600.8.5.1SUSE-SU-2024:2135-1
Alpaquita23linux-lts6.1.81-r0BELL-CVE-2024-26696
Alpaquita25, streamlinux-lts6.12.41-r0BELL-CVE-2024-26696

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-26696.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-226-15Siemens SINEC OS2025-08-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilitiesnone listednone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-25 Forced Deadlock Likelihood: Low · Severity: High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON