← CVE Intelligence

CVE-2024-36935

ice: ensure the copied buf is NUL terminated PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: ice: ensure the copied buf is NUL terminated Currently, we allocate a count-sized kernel buffer and copy count bytes 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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 96a9a9341cdaea0c3bce4c134e04a2a42ae899ac before 5ff4de981983ed84f29b5d92b6550ec054e12a92; affected 96a9a9341cdaea0c3bce4c134e04a2a42ae899ac before 666854ea9cad844f75a068f32812a2d78004914a
Linux / Linuxaffected 6.8; unaffected 0 before 6.8; unaffected 6.8.10 through 6.8.*; unaffected 6.9 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.