CVE-2023-53719
N/A
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
serial: arc_uart: fix of_iomap leak in arc_serial_probe
Smatch reports:
drivers/tty/serial/arc_uart.c:631 arc_serial_probe() warn: 'port->membase' from of_iomap() not released on lines: 631.
In arc_serial_probe(), if uart_add_one_port() fails, port->membase is not released, which would cause a resource leak.
To fix this, I replace of_iomap with devm_platform_ioremap_resource.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a < 3f00df24a5021a6f02c1830a290acd4bceb22a2d | affected |
| Linux | Linux | 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a < 7525aa211758cc023a371e010d16ceaae1057807 | affected |
| Linux | Linux | 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a < 153017561d2804cfae87cc9aa377aa84dd906ae1 | affected |
| Linux | Linux | 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a < f76a18e53a66c0ef2938276110717b3805720cd9 | affected |
| Linux | Linux | 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a < 081790eee6b47389a0d895262086d64c6a38d6e5 | affected |
| Linux | Linux | 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a < 40a462313ba4f337a2b419e7fb4a670f3dd95e14 | affected |
| Linux | Linux | 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a < 8ab5fc55d7f65d58a3c3aeadf11bdf60267cd2bd | affected |
| Linux | Linux | 3.17 | affected |
| Linux | Linux | 0 < 3.17 | unaffected |
| Linux | Linux | 4.19.284 <= 4.19.* | unaffected |
| Linux | Linux | 5.4.244 <= 5.4.* | unaffected |
| Linux | Linux | 5.10.181 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.113 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.30 <= 6.1.* | unaffected |
| Linux | Linux | 6.3.4 <= 6.3.* | unaffected |
| Linux | Linux | 6.4 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/3f00df24a5021a6f02c1830a290acd4bceb22a2d
- https://git.kernel.org/stable/c/7525aa211758cc023a371e010d16ceaae1057807
- https://git.kernel.org/stable/c/153017561d2804cfae87cc9aa377aa84dd906ae1
- https://git.kernel.org/stable/c/f76a18e53a66c0ef2938276110717b3805720cd9
- https://git.kernel.org/stable/c/081790eee6b47389a0d895262086d64c6a38d6e5
- https://git.kernel.org/stable/c/40a462313ba4f337a2b419e7fb4a670f3dd95e14
- https://git.kernel.org/stable/c/8ab5fc55d7f65d58a3c3aeadf11bdf60267cd2bd
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.