orangefs: skip leading spaces before parsing client debug masks
- 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.109, 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: orangefs: skip leading spaces before parsing client debug masks orangefs_prepare_cdm_array() sizes each client debug keyword buffer with strcspn(cds_head, " "), but then parses the keyword with %s. The %s conversion skips leading whitespace, while strcspn() does not. If a client debug entry starts with a space, the allocation can be sized for an empty keyword while sscanf() copies the following non-empty token. This can write past the end of the allocated keyword buffer. Skip leading spaces before computing the keyword length so the allocation matches the string parsed by sscanf().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From f7be4ee07fb72a516563bc2870ef41fa589a964a · fixed in 173bfd69696815bcf1c052f61cb69c26cca4e443; From f7be4ee07fb72a516563bc2870ef41fa589a964a · fixed in 995f4d05589f87452a56672270af28918c8939c3; From f7be4ee07fb72a516563bc2870ef41fa589a964a · fixed in 0ef38d53bca5ea1375fea0d3d11e9727df064b85; From f7be4ee07fb72a516563bc2870ef41fa589a964a · fixed in ce748ae1181d0daf5dd0d2d906d5c1cc328c153b; From f7be4ee07fb72a516563bc2870ef41fa589a964a · fixed in 15d79c806231e62a7b746d3b42626810004e1b27; From f7be4ee07fb72a516563bc2870ef41fa589a964a · fixed in 116d14f29a0524853c9316f32a2ac06cff5d4bf6; From f7be4ee07fb72a516563bc2870ef41fa589a964a · fixed in 1774c5b3713add32fe15ab0d3db4b73355f94e35; From f7be4ee07fb72a516563bc2870ef41fa589a964a · fixed in d410cd5303ec59c7cf23dd61423752ce8e9ecb59
- Linux Linux
4.6
- KernelLinux
From 4.6.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.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4
References 8
git.kernel.org
- stable/c/173bfd69696815bcf1c052f61cb69c26cca4e443
- stable/c/995f4d05589f87452a56672270af28918c8939c3
- stable/c/0ef38d53bca5ea1375fea0d3d11e9727df064b85
- stable/c/ce748ae1181d0daf5dd0d2d906d5c1cc328c153b
- stable/c/15d79c806231e62a7b746d3b42626810004e1b27
- stable/c/116d14f29a0524853c9316f32a2ac06cff5d4bf6
- stable/c/1774c5b3713add32fe15ab0d3db4b73355f94e35
- stable/c/d410cd5303ec59c7cf23dd61423752ce8e9ecb59