Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-38559— scsi: qedf: Ensure the copied buf is NUL terminated

EPSS 0.01% · P1

Affected Version Matrix 20

VendorProductVersion RangeStatus
LinuxLinux61d8658b4a435eac729966cc94cdda077a8df5cd< 1f84a2744ad813be23fc4be99fb74bfb24aadb95affected
61d8658b4a435eac729966cc94cdda077a8df5cd< a75001678e1d38aa607d5b898ec7ff8ed0700d59affected
61d8658b4a435eac729966cc94cdda077a8df5cd< 769b9fd2af02c069451fe9108dba73355d9a021caffected
61d8658b4a435eac729966cc94cdda077a8df5cd< dccd97b39ab2f2b1b9a47a1394647a4d65815255affected
61d8658b4a435eac729966cc94cdda077a8df5cd< d93318f19d1e1a6d5f04f5d965eaa9055bb7c613affected
61d8658b4a435eac729966cc94cdda077a8df5cd< 563e609275927c0b75fbfd0d90441543aa7b5e0daffected
61d8658b4a435eac729966cc94cdda077a8df5cd< 4907f5ad246fa9b51093ed7dfc7da9ebbd3f20b8affected
61d8658b4a435eac729966cc94cdda077a8df5cd< 177f43c6892e6055de6541fe9391a8a3d1f95fc9affected
… +12 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-38559

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
scsi: qedf: Ensure the copied buf is NUL terminated
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: scsi: qedf: Ensure the copied buf is NUL terminated Currently, we allocate a count-sized kernel buffer and copy count from userspace to that buffer. Later, we use kstrtouint on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using kstrtouint. Fix this issue by using memdup_user_nul instead of memdup_user.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于scsi qedf 中存在安全问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 61d8658b4a435eac729966cc94cdda077a8df5cd ~ 1f84a2744ad813be23fc4be99fb74bfb24aadb95 -
LinuxLinux 4.11 -

II. Public POCs for CVE-2024-38559

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-38559

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-06-19 · 122 CVEs total

CVE-2024-38611media: i2c: et8ek8: Don't strip remove function when driver is builtin
CVE-2021-47585btrfs: fix memory leak in __add_inode_ref()
CVE-2021-47584iocost: Fix divide-by-zero on donation from low hweight cgroup
CVE-2021-47582USB: core: Make do_proc_control() and do_proc_bulk() killable
CVE-2021-47583media: mxl111sf: change mutex_init() location
CVE-2021-47579ovl: fix warning in ovl_create_real()
CVE-2021-47580scsi: scsi_debug: Fix type in min_t to avoid stack OOB
CVE-2021-47578scsi: scsi_debug: Don't call kcalloc() if size arg is zero
CVE-2021-47576scsi: scsi_debug: Sanity check block descriptor length in resp_mode_select()
CVE-2021-47577io-wq: check for wq exit after adding new worker task_work
CVE-2024-38617kunit/fortify: Fix mismatched kvalloc()/vfree() usage
CVE-2024-38618ALSA: timer: Set lower bound of start tick time
CVE-2024-38616wifi: carl9170: re-fix fortified-memset warning
CVE-2024-38615cpufreq: exit() callback is optional
CVE-2024-38614openrisc: traps: Don't send signals to kernel mode threads
CVE-2024-38613m68k: Fix spinlock race in kernel thread creation
CVE-2024-38602ax25: Fix reference count leak issues of ax25_dev
CVE-2024-38603drivers/perf: hisi: hns3: Actually use devm_add_action_or_reset()
CVE-2024-38601ring-buffer: Fix a race between readers and resize checks
CVE-2024-38604block: refine the EOF check in blkdev_iomap_begin

Showing top 20 of 122 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-38559

No comments yet


Leave a comment