# CVE-2022-48959: net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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 15% of CVEs (2026-12-01)
- Published: 2024-10-21T20:05:44.447Z
- Modified: 2026-06-17T05:16:43.100Z
- Weaknesses: CWE-401
- 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: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()

When dsa_devlink_region_create failed in sja1105_setup_devlink_regions(),
priv->regions is not released.

(As written by CVE List.)

## Affected

- Linux Linux: from bf425b82059e0b0752c0026353c1902112200837 before 4be43e46c3f945fc7dd9e23c73a7a66927a3b814; from bf425b82059e0b0752c0026353c1902112200837 before f3b5dda26cd0535aac09ed09c5d83f19b979ec9f; from bf425b82059e0b0752c0026353c1902112200837 before e5e59629654b8826f0167dae480d0e3fa0f8f038; from bf425b82059e0b0752c0026353c1902112200837 before 78a9ea43fc1a7c06a420b132d2d47cbf4344a5df; 5.10 (not affected: before 5.10; from 5.10.159 up to 5.10.*; from 5.15.83 up to 5.15.*; from 6.0.13 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.10 before 5.10.159; from 5.11 before 5.15.83; from 5.16 before 6.0.13; 6.1

## References

- <https://git.kernel.org/stable/c/4be43e46c3f945fc7dd9e23c73a7a66927a3b814> (patch)
- <https://git.kernel.org/stable/c/f3b5dda26cd0535aac09ed09c5d83f19b979ec9f> (patch)
- <https://git.kernel.org/stable/c/e5e59629654b8826f0167dae480d0e3fa0f8f038> (patch)
- <https://git.kernel.org/stable/c/78a9ea43fc1a7c06a420b132d2d47cbf4344a5df> (patch)

## Sources

- CVE List: [CVE-2022-48959](https://www.cve.org/CVERecord?id=CVE-2022-48959), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48959](https://nvd.nist.gov/vuln/detail/CVE-2022-48959), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48959 · Whole record: https://cve.day/CVE-2022-48959.json · Rebuilt by cve.day 2026-11-25T22:58:20.004Z
