CVE-2023-53553
Last modified
CVE-2023-53553 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: HID: hyperv: avoid struct memcpy overrun warning A previous patch addressed the fortified memcpy warning for most builds, but I still see this one with gcc-9: In file included from include/linux/string.h:254, from drivers/hid/hid-hyperv.c:8: In function 'fortify_memcpy_chk', inlined from 'mousevsc_on_receive' at drivers/hid/hid-hyperv.c:272:3: include/linux/fortify-string.h:583:4: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning] 583 | __write_overflow_field(p_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ My guess is that the WARN_ON() itself is what confuses gcc, so it no longer sees that there is a correct range check. Rework the code in a way that helps readability and avoids the warning.. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: HID: hyperv: avoid struct memcpy overrun warning A previous patch addressed the fortified memcpy warning for most builds, but I still see this one with gcc-9: In file included from include/linux/string.h:254, from drivers/hid/hid-hyperv.c:8: In function 'fortify_memcpy_chk', inlined from 'mousevsc_on_receive' at drivers/hid/hid-hyperv.c:272:3: include/linux/fortify-string.h:583:4: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning] 583 | __write_overflow_field(p_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ My guess is that the WARN_ON() itself is what confuses gcc, so it no longer sees that there is a correct range check. Rework the code in a way that helps readability and avoids the warning.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.2, < 6.4.5 | — |
| Linux | Linux Kernel | 6.5 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-53553?
How severe is CVE-2023-53553?
How do I fix CVE-2023-53553?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-53548In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53549In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-5355The Awesome Support WordPress plugin before 6.1.5 does not s…8.1
- CVE-2023-53550In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53551In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53552In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53554In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53555In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53556In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53557In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53558In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53559In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2023-53553?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
