Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-35948

published high CVSS 3.1 · 7.8

bcachefs: Check for journal entries overruning end of sb clean section

Published
20 May 2024, 09:17:34 UTC
Updated
05 Aug 2026, 11:31:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a to < fcdbc1d7a4b638e5d5668de461f320386f3002aa · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
linux — linux_kernel1da177e4c3f4 to < fcdbc1d7a4b6 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernel0 through 6.9 · Other versions: unknown Unaffected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu noble linux-buildinfo-6.8.0-1035-nvidia-tegra Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-buildinfo-6.8.0-1035-nvidia-tegra-rt Advisory build 6.8.0-1035.38 USN-8781-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-headers-6.8.0-1035-nvidia-tegra Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-headers-6.8.0-1035-nvidia-tegra-rt Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-image-unsigned-6.8.0-1035-nvidia-tegra Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-image-unsigned-6.8.0-1035-nvidia-tegra-rt Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-modules-6.8.0-1035-nvidia-tegra Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-modules-6.8.0-1035-nvidia-tegra-rt Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-modules-extra-6.8.0-1035-nvidia-tegra Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-modules-extra-6.8.0-1035-nvidia-tegra-rt Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-nvidia-tegra Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-nvidia-tegra-headers-6.8.0-1035 Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-nvidia-tegra-tools-6.8.0-1035 Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-tools-6.8.0-1035-nvidia-tegra Advisory build 6.8.0-1035.38 USN-8781-1
Ubuntu noble linux-tools-6.8.0-1035-nvidia-tegra-rt Advisory build 6.8.0-1035.38 USN-8781-1

Description

In the Linux kernel, the following vulnerability has been resolved: bcachefs: Check for journal entries overruning end of sb clean section Fix a missing bounds check in superblock validation. Note that we don't yet have repair code for this case - repair code for individual items is generally low priority, since the whole superblock is checksummed, validated prior to write, and we have backups.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached only by mounting a bcachefs image (crafted USB stick, loop-mounted file, or removable media auto-mounted by udisks2), which requires local access to the machine. There is no network-facing path to the superblock clean-section parser. AC:L - The attacker fully controls every byte of the superblock, including the `jset_entry` u64s length field and the superblock checksum, so the overrun triggers deterministically on the first mount with no race or memory-layout precondition. PR:L - In the standard desktop/kiosk deployment an unprivileged local user need only attach the crafted volume and a root-owned auto-mounter parses it on their behalf, so no privileges beyond an ordinary local account are required to deliver the malicious superblock. UI:N - Under removable-media auto-mount the attacker inserts the device themselves and recovery runs without any separate victim action; no other user must open a file or perform any step. S:U - The out-of-bounds accesses corrupt and disclose kernel heap memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The unbounded walk reads up to ~512 KB past the kmemdup'd clean-section buffer, and the fsck error paths render those out-of-bounds heap bytes into the kernel log via `bch2_bkey_val_to_text()`, giving a direct heap-memory disclosure primitive. I:H - `journal_entry_null_range()` memsets and `journal_validate_key()` memmoves over memory past the end of the allocation, and the null-range loop advances by out-of-bounds `u64s` values with an `!=` terminator so it can overshoot and zero arbitrary adjacent heap objects — heap corruption exploitable for control-flow influence. A:H - The out-of-bounds read/write walk of up to hundreds of kilobytes past a small slab object reliably faults, trips KASAN/BUG, or corrupts unrelated kernel structures, panicking the machine on mount.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.4 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a to < fcdbc1d7a4b638e5d5668de461f320386f3002aa (affected · git)Default: unaffected Linux · cna
Linux Linux 6.7 (affected)0 to < 6.7 (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
linux linux_kernel 1da177e4c3f4 to < fcdbc1d7a4b6 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 0 through 6.9 (unaffected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-400 CWE-400 Uncontrolled Resource Consumption (CISA-ADP · adp)

References

1

Provider assertions

3

Linux · cna

bcachefs: Check for journal entries overruning end of sb clean section

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
2af8d4314dab293cdc3ee636739296e6c5fe6090d8df2edee2fa02a0d390074e
Ingested
23 Sep 2026, 08:23:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected