CVE-2024-36935

published 30 May 2024 · updated 11 May 2026

ice: ensure the copied buf is NUL terminated

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5ff4de981983ed84f29b5d92b6550ec054e12a92 and Kernel 666854ea9cad844f75a068f32812a2d78004914a.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.8, >=96a9a9341cdaea0c3bce4c134e04a2a42ae899ac <5ff4de981983ed84f29b5d92b6550ec054e12a92, >=96a9a9341cdaea0c3bce4c134e04a2a42ae899ac <666854ea9cad844f75a068f32812a2d78004914a5ff4de981983ed84f29b5d92b6550ec054e12a92, 666854ea9cad844f75a068f32812a2d78004914a

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-36935 severity on Zeptric[![CVE-2024-36935](https://zeptric.io/badge/cve/CVE-2024-36935.svg)](https://zeptric.io/cve/CVE-2024-36935)