# CVE-2024-46831: net: microchip: vcap: Fix use-after-free error in kunit test

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-09-27T12:39:29.078Z
- Modified: 2026-08-05T11:38:53.495Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: microchip: vcap: Fix use-after-free error in kunit test

This is a clear use-after-free error. We remove it, and rely on checking
the return code of vcap_del_rule.

(As written by CVE List.)

## Affected

- Linux Linux: from c956b9b318d9036701c471dd458f9ed31defc629 before b0804c286ccfcf5f5c004d5bf8a54c0508b5e86b; from c956b9b318d9036701c471dd458f9ed31defc629 before f7fe95f40c85311c98913fe6ae2c56adb7f767a7; from c956b9b318d9036701c471dd458f9ed31defc629 before a3c1e45156ad39f225cd7ddae0f81230a3b1e657; 6.2 (not affected: before 6.2; from 6.6.51 up to 6.6.*; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 6.2 before 6.6.51; from 6.7 before 6.10.10; 6.11

## Every score

- Linux: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/b0804c286ccfcf5f5c004d5bf8a54c0508b5e86b> (patch)
- <https://git.kernel.org/stable/c/f7fe95f40c85311c98913fe6ae2c56adb7f767a7> (patch)
- <https://git.kernel.org/stable/c/a3c1e45156ad39f225cd7ddae0f81230a3b1e657> (patch)

## Sources

- CVE List: [CVE-2024-46831](https://www.cve.org/CVERecord?id=CVE-2024-46831), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46831](https://nvd.nist.gov/vuln/detail/CVE-2024-46831), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46831 · Whole record: https://cve.day/CVE-2024-46831.json · Rebuilt by cve.day 2026-11-25T22:58:45.835Z
