mtd: afs: validate v2 image info bounds
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: mtd: afs: validate v2 image info bounds The AFS v2 parser uses footer[8] to locate the image information block inside the current erase block, then uses the image information region_count to walk entries from a fixed local array. The footer offset and region count come from flash contents and are not checked against the erase block or the local image-info array before use. Reject v2 entries whose image information offset would underflow the erase block calculation, and reject region counts that cannot fit in the local image-info array before walking region entries.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b7cf5e2830bbb128699d7635ce8404b7f605bc95 · fixed in 1bec05a68414cf8d0cab6cb42445b8603f32ffc4; From b7cf5e2830bbb128699d7635ce8404b7f605bc95 · fixed in 3ad8ff12fd44b08af9212ac4883a7e29d2ab7348; From b7cf5e2830bbb128699d7635ce8404b7f605bc95 · fixed in 875daa3c750814ff2e2dc050239c390048f0bcd0; From b7cf5e2830bbb128699d7635ce8404b7f605bc95 · fixed in da740539e8f370767317e24615349b9342a6e773; From b7cf5e2830bbb128699d7635ce8404b7f605bc95 · fixed in 1edea8900ca3e405c1421d8b5c29f97107874f72; From b7cf5e2830bbb128699d7635ce8404b7f605bc95 · fixed in 18916f475057cbd2fb8ea6ae86e6b85884ad1d53; From b7cf5e2830bbb128699d7635ce8404b7f605bc95 · fixed in d14e6298139f58a87a87d7022e26a7f37f0ddce7; From b7cf5e2830bbb128699d7635ce8404b7f605bc95 · fixed in e9290031f736e99ad17c25c00311c92c266843b7
- Linux Linux
5.2
- KernelLinux
From 5.2.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5
References 8
git.kernel.org
- stable/c/1bec05a68414cf8d0cab6cb42445b8603f32ffc4
- stable/c/3ad8ff12fd44b08af9212ac4883a7e29d2ab7348
- stable/c/875daa3c750814ff2e2dc050239c390048f0bcd0
- stable/c/da740539e8f370767317e24615349b9342a6e773
- stable/c/1edea8900ca3e405c1421d8b5c29f97107874f72
- stable/c/18916f475057cbd2fb8ea6ae86e6b85884ad1d53
- stable/c/d14e6298139f58a87a87d7022e26a7f37f0ddce7
- stable/c/e9290031f736e99ad17c25c00311c92c266843b7