CVE-2024-36935: ice: ensure the copied buf is NUL terminated

Published May 30, 2024
·
Updated

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 memdupusernul instead of memdupuser.

Affected Software

8 affected componentsFixes available
Linux Linux kernel>=6.8<6.8.10
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
Linux Linux kernel=6.9-rc3
Linux Linux kernel=6.9-rc4
Linux Linux kernel=6.9-rc5
Linux Linux kernel=6.9-rc6
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

May 30, 2024
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
Description
Aug 8, 2024
Data Sourced
via Launchpad·11:25 PM
Description
Jan 20, 2025
Data Sourced
via Ubuntu·12:06 AM
RemedyDescriptionSeverityAffected Software
Mar 30, 2025
Data Sourced
via Debian·12:18 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-36935?

CVE-2024-36935 is considered to have a significant impact due to potential memory corruption leading to security vulnerabilities.

2

How do I fix CVE-2024-36935?

To resolve CVE-2024-36935, upgrade your Linux kernel to versions 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.11-1, or 6.12.12-1.

3

Which Linux kernel versions are affected by CVE-2024-36935?

CVE-2024-36935 affects Linux kernel versions between 6.8 and 6.9-rc6.

4

What should I do if I am running an affected version of the Linux kernel related to CVE-2024-36935?

If you are running an affected version of the Linux kernel, it is critical to apply the relevant security patches or upgrade to a secure version immediately.

5

Is there a workaround for CVE-2024-36935 while waiting for a patch?

Currently, there are no recommended workarounds for CVE-2024-36935 other than upgrading the kernel to a secure version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203