net/rose: prevent integer overflows in rose_setsockopt()
- 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.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, and 1 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: net/rose: prevent integer overflows in rose_setsockopt() In case of possible unpredictably large arguments passed to rose_setsockopt() and multiplied by extra values on top of that, integer overflows may occur. Do the safest minimum and fix these issues by checking the contents of 'opt' and returning -EINVAL if they are too large. Also, switch to unsigned int and remove useless check for negative 'opt' in ROSE_IDLE case.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 4bdd449977e2364a53d0b2a5427e71beb1cd702d; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in b8583b54455cbec2fc038fa32b6700890b369815; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 9bdee49ad6bbd26ab5e13cc6731e54fb1b6c1dca; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 352daa50946c3bbb662432e8daf54d6760796589; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in d08f4074f9c69f7e95502587eb1b258a965ba7f0; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in e5338930a29d0ab2a5af402f5f664aeba0d1a676; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in d640627663bfe7d8963c7615316d7d4ef60f3b0b
- Linux Linux
2.6.12
- KernelLinux
From 2.6.12 · fixed in 5.10.235; From 5.11.0 · fixed in 5.15.179; From 5.16.0 · fixed in 6.1.129; From 6.2.0 · fixed in 6.6.76; From 6.7.0 · fixed in 6.12.13; From 6.13.0 · fixed in 6.13.2
References 7
git.kernel.org
- stable/c/4bdd449977e2364a53d0b2a5427e71beb1cd702d
- stable/c/b8583b54455cbec2fc038fa32b6700890b369815
- stable/c/9bdee49ad6bbd26ab5e13cc6731e54fb1b6c1dca
- stable/c/352daa50946c3bbb662432e8daf54d6760796589
- stable/c/d08f4074f9c69f7e95502587eb1b258a965ba7f0
- stable/c/e5338930a29d0ab2a5af402f5f664aeba0d1a676
- stable/c/d640627663bfe7d8963c7615316d7d4ef60f3b0b