CVE-2023-53303
net: microchip: vcap api: Fix possible memory leak for vcap_dup_rule()
Mitigation
- Upgrade Linux to 281f65d29d6da1a9b6907fb0b145aaf34f4e4822 or later.
Who should check
- Anyone running Linux >= 814e7693207f1bd936d600f9b5467f133e3d6e40, < a26ba60413b2c8f95daf0ee0152cf82abd7bfbe4; >= 814e7693207f1bd936d600f9b5467f133e3d6e40, < 281f65d29d6da1a9b6907fb0b145aaf34f4e4822
- Anyone running Linux 6.3
Vulnerability facts
- Affected
- Linux >= 814e7693207f1bd936d600f9b5467f133e3d6e40, < a26ba60413b2c8f95daf0ee0152cf82abd7bfbe4; >= 814e7693207f1bd936d600f9b5467f133e3d6e40, < 281f65d29d6da1a9b6907fb0b145aaf34f4e4822; Linux 6.3
- Fixed in
- Linux 281f65d29d6da1a9b6907fb0b145aaf34f4e4822
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: microchip: vcap api: Fix possible memory leak for vcap_dup_rule() Inject fault When select CONFIG_VCAP_KUNIT_TEST, the below memory leak occurs. If kzalloc() for duprule succeeds, but the following kmemdup() fails, the duprule, ckf and caf memory will be leaked. So kfree them in the error path. unreferenced object 0xffff122744c50600 (size 192): comm "kunit_try_catch", pid 346, jiffies 4294896122 (age 911.812s) hex dump (first 32 bytes): 10 27 00 00 04 00 00 00 1e 00 00 00 2c 01 00 00 .'..........,... 00 00 00 00 00 00 00 00 18 06 c5 44 27 12 ff ff ...........D'... backtrace: [<00000000394b0db8>] __kmem_cache_alloc_node+0x274/0x2f8 [<0000000001bedc67>] kmalloc_trace+0x38/0x88 [<00000000b0612f98>] vcap_dup_rule+0x50/0x460 [<000000005d2d3aca>] vcap_add_rule+0x8cc/0x1038 [<00000000eef9d0f8>] test_vcap_xn_rule_creator.constprop.0.isra.0+0x238/0x494 [<00000000cbda607b>] vcap_api_rule_remove_in_front_test+0x1ac/0x698 [<00000000c8766299>] kunit_try_run_case+0xe0/0x20c [<00000000c4fe9186>] kunit_generic_run_threadfn_adapter+0x50/0x94 [<00000000f6864acf>] kthread+0x2e8/0x374 [<0000000022e639b3>] ret_from_fork+0x10/0x20
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53303. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53303.md Affected: Linux >= 814e7693207f1bd936d600f9b5467f133e3d6e40, < a26ba60413b2c8f95daf0ee0152cf82abd7bfbe4; >= 814e7693207f1bd936d600f9b5467f133e3d6e40, < 281f65d29d6da1a9b6907fb0b145aaf34f4e4822; Linux 6.3 Fixed in: Linux 281f65d29d6da1a9b6907fb0b145aaf34f4e4822 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2023-53303 being exploited?
There is no confirmed exploitation: CVE-2023-53303 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53303?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53303?
Linux >= 814e7693207f1bd936d600f9b5467f133e3d6e40, < a26ba60413b2c8f95daf0ee0152cf82abd7bfbe4; >= 814e7693207f1bd936d600f9b5467f133e3d6e40, < 281f65d29d6da1a9b6907fb0b145aaf34f4e4822; Linux 6.3.
Is there a fix for CVE-2023-53303?
Yes. Fixed in Linux 281f65d29d6da1a9b6907fb0b145aaf34f4e4822. Upgrade Linux to 281f65d29d6da1a9b6907fb0b145aaf34f4e4822 or later.
How do I check if I'm affected by CVE-2023-53303?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.