scsi: qla2xxx: Fix FCE trace enable parsing in debugfs
- 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 3 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: scsi: qla2xxx: Fix FCE trace enable parsing in debugfs qla2x00_dfs_fce_write() called kstrtoul() with a NULL result pointer, so a successful parse would dereference NULL and oops. Worse, the int return value (0 on success, negative errno on failure) was assigned to the unsigned long enable flag, inverting the intended logic: a valid number was treated as "disable" while a parse failure enabled FCE. Parse the value into enable and propagate parse errors to userspace.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 3a5a789494875376d1f8063ec5ecc6beafda2ce1 · fixed in b0c08c08a08b6cca0e7e192bcbe0514e41fcc55f; From 73d3d3c66f108bc47922490f8500842530139975 · fixed in 9932cbd0b49d0a5ab8378d32650ffb51604ffa35; From 57c029cab0d908942e3ed9ff9fd0361144d01944 · fixed in f5e245164d187d1ee227140c8b2e83b67f59c1fd; From 217230bc8796a922d5b15a9a94ec4414b2d2b3e3 · fixed in 5762d992dddaf301e7fb78f797de407116847121; From 2cf3c3fe9a11aa168e80c966494c58548b9aed5d · fixed in eff41f50461c238bd2c5cd20672a5b53e68d493a; From 841df27d619ee1f5ca6473e15227b39d6136562d · fixed in 7203d4aed8f444e7376c2dee8d93577b37cf9989; From 841df27d619ee1f5ca6473e15227b39d6136562d · fixed in aac0d3cb9199121d2ce5906e06f94b793fac1052; From 841df27d619ee1f5ca6473e15227b39d6136562d · fixed in b7368687e3d11f51392d3c4774ec0263d5fbf31f; From 5.10.235 · fixed in 5.10.270; From 5.15.179 · fixed in 5.15.221; From 6.1.129 · fixed in 6.1.188; From 6.6.78 · fixed in 6.6.157; From 6.12.14 · fixed in 6.12.110; From 6.13.3 · fixed in 6.14
- Linux Linux
6.14
- KernelLinux
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.14.0 · fixed in 7.2.5
References 8
git.kernel.org
- stable/c/b0c08c08a08b6cca0e7e192bcbe0514e41fcc55f
- stable/c/9932cbd0b49d0a5ab8378d32650ffb51604ffa35
- stable/c/f5e245164d187d1ee227140c8b2e83b67f59c1fd
- stable/c/5762d992dddaf301e7fb78f797de407116847121
- stable/c/eff41f50461c238bd2c5cd20672a5b53e68d493a
- stable/c/7203d4aed8f444e7376c2dee8d93577b37cf9989
- stable/c/aac0d3cb9199121d2ce5906e06f94b793fac1052
- stable/c/b7368687e3d11f51392d3c4774ec0263d5fbf31f