Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2024-38599: jffs2: prevent xattr node from overflowing the eraseblock

Noroxi assessment

Priority: Monitor (action score 28/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.24% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 2904e1d9b64f72d291095e3cbb31634f08788b11, 526235dffcac74c7823ed504dfac4f88d84ba5df, 8d431391320c5c5398ff966fb3a95e68a7def275.

Low priority for now. Upgrade to Linux Linux 2904e1d9b64f72d291095e3cbb31634f08788b11, 526235dffcac74c7823ed504dfac4f88d84ba5df, 8d431391320c5c5398ff966fb3a95e68a7def275 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In the Linux kernel, the following vulnerability has been resolved: jffs2: prevent xattr node from overflowing the eraseblock Add a check to make sure that the requested xattr node size is no larger than the eraseblock minus the cleanmarker. Unlike the usual inode nodes, the xattr nodes aren't split into parts and spread across multiple eraseblocks, which means that a xattr node must not occupy more than one eraseblock. If the requested xattr value is too large, the xattr node can spill onto the next eraseblock, overwriting the nodes and causing errors such as: jffs2: argh. node added in wrong place at 0x0000b050(2) jffs2: nextblock 0x0000a000, expected at 0000b00c jffs2: error: (823) do_verify_xattr_datum: node CRC failed at 0x01e050, read=0xfc892c93, calc=0x000000 jffs2: notice: (823) jffs2_get_inode_nodes: Node header CRC failed at 0x01e00c. {848f,2fc4,0fef511f,59a3d171} jffs2: Node at 0x0000000c with length 0x00001044 would run over the end of the erase block jffs2: Perhaps the file system was created with the wrong erase size? jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x1044 instead This breaks the filesystem and can lead to KASAN crashes such as: BUG: KASAN: slab-out-of-bounds in jffs2_sum_add_kvec+0x125e/0x15d0 Read of size 4 at addr ffff88802c31e914 by task repro/830 CPU: 0 PID: 830 Comm: repro Not tainted 6.9.0-rc3+ #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Arch Linux 1.16.3-1-1 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0xc6/0x120 print_report+0xc4/0x620 ? __virt_addr_valid+0x308/0x5b0 kasan_report+0xc1/0xf0 ? jffs2_sum_add_kvec+0x125e/0x15d0 ? jffs2_sum_add_kvec+0x125e/0x15d0 jffs2_sum_add_kvec+0x125e/0x15d0 jffs2_flash_direct_writev+0xa8/0xd0 jffs2_flash_writev+0x9c9/0xef0 ? __x64_sys_setxattr+0xc4/0x160 ? do_syscall_64+0x69/0x140 ? entry_SYSCALL_64_after_hwframe+0x76/0x7e [...] Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

HighCVSS 7.1 · v3.1—No exploit Fix available
Published
Jun 19, 2024
Updated
Oct 15, 2026
EPSS
0.2% · 15th percentile

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
28 / 40 · 7.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.1
CNA · Linux
7.8
0.7 point gap

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-38599

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel2.6.18 and later · before 4.19.316
  • linux linux kernel4.20 and later · before 5.4.278
  • linux linux kernel5.5 and later · before 5.10.219
  • linux linux kernel5.11 and later · before 5.15.161
  • linux linux kernel5.16 and later · before 6.1.93
  • linux linux kernel6.2 and later · before 6.6.33
  • linux linux kernel6.7 and later · before 6.8.12
  • linux linux kernel6.9 and later · before 6.9.3

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 2.6.18affected
    • aa98d7cf59b5b0764d3502662053489585faf2fe and later · before 2904e1d9b64f72d291095e3cbb31634f08788b11affected · git
    • aa98d7cf59b5b0764d3502662053489585faf2fe and later · before 526235dffcac74c7823ed504dfac4f88d84ba5dfaffected · git
    • aa98d7cf59b5b0764d3502662053489585faf2fe and later · before f0eea095ce8c959b86e1e57fe36ca4fea5ae54f8affected · git
    • aa98d7cf59b5b0764d3502662053489585faf2fe and later · before a1d21bcd78cf4a4353e1e835789429c6b76aca8baffected · git
    • aa98d7cf59b5b0764d3502662053489585faf2fe and later · before f06969df2e40ab1dc8f4364a5de967830c74a098affected · git
    • aa98d7cf59b5b0764d3502662053489585faf2fe and later · before af82d8d2179b7277ad627c39e7e0778f1c86ccdbaffected · git
    • aa98d7cf59b5b0764d3502662053489585faf2fe and later · before 8d431391320c5c5398ff966fb3a95e68a7def275affected · git
    • aa98d7cf59b5b0764d3502662053489585faf2fe and later · before 978a12c91b38bf1a213e567f3c20e2beef215f07affected · git
    • aa98d7cf59b5b0764d3502662053489585faf2fe and later · before c6854e5a267c28300ff045480b5a7ee7f6f1d913affected · git

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.94-16.1.94-1
Debian:13linuxbefore 6.8.12-16.8.12-1
openSUSE:Leap 15.6kernel-azurebefore 6.4.0-150600.8.17.26.4.0-150600.8.17.2
openSUSE:Leap 15.6kernel-rtbefore 6.4.0-150600.10.17.16.4.0-150600.10.17.1
openSUSE:Leap 15.6kernel-rt_debugbefore 6.4.0-150600.10.17.16.4.0-150600.10.17.1
openSUSE:Leap 15.6kernel-source-azurebefore 6.4.0-150600.8.17.16.4.0-150600.8.17.1
openSUSE:Leap 15.6kernel-source-rtbefore 6.4.0-150600.10.17.16.4.0-150600.10.17.1
openSUSE:Leap 15.6kernel-syms-azurebefore 6.4.0-150600.8.17.16.4.0-150600.8.17.1
openSUSE:Leap 15.6kernel-syms-rtbefore 6.4.0-150600.10.17.16.4.0-150600.10.17.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSkernel-64kbbefore 5.14.21-150500.55.94.15.14.21-150500.55.94.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSkernel-docsbefore 5.14.21-150500.55.94.15.14.21-150500.55.94.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSkernel-obs-buildbefore 5.14.21-150500.55.94.15.14.21-150500.55.94.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSkernel-symsbefore 5.14.21-150500.55.94.15.14.21-150500.55.94.1
SUSE:Linux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_23before 1-150500.11.3.11-150500.11.3.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_5before 1-150600.1.3.11-150600.1.3.1
SUSE:Linux Enterprise Micro 5.5kernel-defaultbefore 5.14.21-150500.55.94.15.14.21-150500.55.94.1
SUSE:Linux Enterprise Micro 5.5kernel-default-basebefore 5.14.21-150500.55.94.1.150500.6.43.15.14.21-150500.55.94.1.150500.6.43.1
SUSE:Linux Enterprise Micro 5.5kernel-rtbefore 5.14.21-150500.13.85.15.14.21-150500.13.85.1
SUSE:Linux Enterprise Micro 5.5kernel-sourcebefore 5.14.21-150500.55.94.15.14.21-150500.55.94.1
SUSE:Linux Enterprise Micro 5.5kernel-source-rtbefore 5.14.21-150500.13.85.15.14.21-150500.13.85.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP6kernel-azurebefore 6.4.0-150600.8.17.26.4.0-150600.8.17.2
SUSE:Linux Enterprise Module for Public Cloud 15 SP6kernel-source-azurebefore 6.4.0-150600.8.17.16.4.0-150600.8.17.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP6kernel-syms-azurebefore 6.4.0-150600.8.17.16.4.0-150600.8.17.1
SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREkernel-defaultbefore 3.0.101-108.168.13.0.101-108.168.1

+16

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2024-38596Jun 19, 2024 · af_unix: Fix data races in unix_release_sock/unix_stream_sendmsg
    18Monitor
  • ← EarlierCVE-2024-38598Jun 19, 2024 · md: fix resync softlockup when bitmap size is less than array size
    22Monitor
  • Later →CVE-2024-38608Jun 19, 2024 · net/mlx5e: Fix netif state handling
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux2904e1d9b64f72d291095e3cbb31634f08788b11Vendor (CNA)
Linux Linux526235dffcac74c7823ed504dfac4f88d84ba5dfVendor (CNA)
Linux Linux8d431391320c5c5398ff966fb3a95e68a7def275Vendor (CNA)
Linux Linux978a12c91b38bf1a213e567f3c20e2beef215f07Vendor (CNA)
Linux Linuxa1d21bcd78cf4a4353e1e835789429c6b76aca8bVendor (CNA)
Linux Linuxaf82d8d2179b7277ad627c39e7e0778f1c86ccdbVendor (CNA)
Linux Linuxc6854e5a267c28300ff045480b5a7ee7f6f1d913Vendor (CNA)
Linux Linuxf06969df2e40ab1dc8f4364a5de967830c74a098Vendor (CNA)
Linux Linuxf0eea095ce8c959b86e1e57fe36ca4fea5ae54f8Vendor (CNA)
debian:linux6.1.94-1 · Debian:12Package registry (OSV)
opensuse:kernel-azure6.4.0-150600.8.17.2 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-rt6.4.0-150600.10.17.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-rt_debug6.4.0-150600.10.17.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-source-azure6.4.0-150600.8.17.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-source-rt6.4.0-150600.10.17.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-syms-azure6.4.0-150600.8.17.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-syms-rt6.4.0-150600.10.17.1 · openSUSE:Leap 15.6Package registry (OSV)
suse:kernel-azure6.4.0-150600.8.17.2 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-default3.0.101-108.159.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)
suse:kernel-ec23.0.101-108.159.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)
suse:kernel-livepatch-SLE15-SP6-RT_Update_51-150600.1.3.1 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-rt6.4.0-150600.10.17.1 · SUSE:Real Time Module 15 SP6Package registry (OSV)
suse:kernel-rt_debug6.4.0-150600.10.17.1 · SUSE:Real Time Module 15 SP6Package registry (OSV)
suse:kernel-source3.0.101-108.159.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)
suse:kernel-source-azure6.4.0-150600.8.17.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-source-rt6.4.0-150600.10.17.1 · SUSE:Real Time Module 15 SP6Package registry (OSV)
suse:kernel-syms3.0.101-108.159.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)
suse:kernel-syms-azure6.4.0-150600.8.17.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-syms-rt6.4.0-150600.10.17.1 · SUSE:Real Time Module 15 SP6Package registry (OSV)
suse:kernel-trace3.0.101-108.159.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)

+1

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-125 · Out-of-bounds Read

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records