CVE-2024-41086

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-41086
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41086.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-41086
Downstream
Published
2024-07-29T15:48:02Z
Modified
2025-10-17T08:52:24.410793Z
Summary
bcachefs: Fix sb_field_downgrade validation
Details

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

bcachefs: Fix sbfielddowngrade validation

  • bch2sbdowngrade_validate() wasn't checking for a downgrade entry extending past the end of the superblock section

  • foreachdowngradeentry() is used in totext() and needs to work on malformed input; it also was missing a check for a field extending past the end of the section

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
84f1638795da1ff2084597de4251e9054f1ad728
Fixed
bf920ed92ef24dcd6970c88881cd4700b3acf05b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
84f1638795da1ff2084597de4251e9054f1ad728
Fixed
692aa7a54b2b28d59f24b3bf8250837805484b99

Affected versions

v6.*

v6.7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7
v6.9.1
v6.9.2
v6.9.3
v6.9.4
v6.9.5
v6.9.6
v6.9.7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.8