CVE-2024-38560
Published: Jun 19, 2024
Modified: May 12, 2026
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: bfa: Ensure the copied buf is NUL terminated Currently, we allocate a nbytes-sized kernel buffer and copy nbytes from userspace to that buffer. Later, we use sscanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using sscanf. Fix this issue by using memdup_user_nul instead of memdup_user.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected 9f30b674759b9a2da25aefe25d885161d8a911cb - < 481fc0c8617304a67649027c4a44723a139a0462affected 9f30b674759b9a2da25aefe25d885161d8a911cb - < 595a6b98deec01b6dbb20139f71edcd5fb760ec2affected 9f30b674759b9a2da25aefe25d885161d8a911cb - < 00b425ff0891283207d7bad607a2412225274d7aaffected 9f30b674759b9a2da25aefe25d885161d8a911cb - < 1708e3cf2488788cba5489e4f913d227de757bafaffected 9f30b674759b9a2da25aefe25d885161d8a911cb - < 7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c+4 more versions |
Linux | Linux | affected 3.19unaffected 0 - < 3.19unaffected 4.19.316 - <= 4.19.*unaffected 5.4.278 - <= 5.4.*unaffected 5.10.219 - <= 5.10.*+6 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now