# CVE-2023-53078: scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()

- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-05-02T15:55:28.246Z
- Modified: 2026-11-05T21:17:11.500Z
- 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:

scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()

If alua_rtpg_queue() failed from alua_activate(), then 'qdata' is not
freed, which will cause following memleak:

unreferenced object 0xffff88810b2c6980 (size 32):
  comm "kworker/u16:2", pid 635322, jiffies 4355801099 (age 1216426.076s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    40 39 24 c1 ff ff ff ff 00 f8 ea 0a 81 88 ff ff  @9$.............
  backtrace:
    [<0000000098f3a26d>] alua_activate+0xb0/0x320
    [<000000003b529641>] scsi_dh_activate+0xb2/0x140
    [<000000007b296db3>] activate_path_work+0xc6/0xe0 [dm_multipath]
    [<000000007adc9ace>] process_one_work+0x3c5/0x730
    [<00000000c457a985>] worker_thread+0x93/0x650
    [<00000000cb80e628>] kthread+0x1ba/0x210
    [<00000000a1e61077>] ret_from_fork+0x22/0x30

Fix the problem by freeing 'qdata' in error path.

(As written by CVE List.)

## Affected

- Linux Linux: from 625fe857e4fac6518716f3c0ff5e5deb8ec6d238 before 123483df146492ca22b503ae6dacc2ce7c3a3974; from 625fe857e4fac6518716f3c0ff5e5deb8ec6d238 before c110051d335ef7f62ad33474b0c23997fee5bfb5; from 625fe857e4fac6518716f3c0ff5e5deb8ec6d238 before 5c4d71424df34fc23dc5336d09394ce68c849542; from 625fe857e4fac6518716f3c0ff5e5deb8ec6d238 before c09cdf6eb815ee35e55d6c50ac7f63db58bd20b8; from 625fe857e4fac6518716f3c0ff5e5deb8ec6d238 before 9311e7a554dffd3823499e309a8b86a5cd1540e5; from 625fe857e4fac6518716f3c0ff5e5deb8ec6d238 before 1c55982beb80c7d3c30278fc6cfda8496a31dbe6; from 625fe857e4fac6518716f3c0ff5e5deb8ec6d238 before 0d89254a4320eb7de0970c478172f764125c6355; from 625fe857e4fac6518716f3c0ff5e5deb8ec6d238 before a13faca032acbf2699293587085293bdfaafc8ae; 68b275b7cbf065a8ea9b964cbb7d78d2b63c635f; 2b1725d1df362499f6bbd5a7e245a4090b29c2bb; from 4.9.21 before 4.10; from 4.10.9 before 4.11; and 1 more (not affected: before 4.11; from 4.14.312 up to 4.14.*; from 4.19.280 up to 4.19.*; from 5.4.240 up to 5.4.*; from 5.10.177 up to 5.10.*; from 5.15.105 up to 5.15.*; from 6.1.22 up to 6.1.*; from 6.2.9 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 4.9.21 before 4.10; from 4.10.9 before 4.11; from 4.11.1 before 4.14.312; from 4.15 before 4.19.280; from 4.20 before 5.4.240; from 5.5 before 5.10.177; from 5.11 before 5.15.105; from 5.16 before 6.1.22; from 6.2 before 6.2.9; 4.11; 6.3

## References

- <https://git.kernel.org/stable/c/123483df146492ca22b503ae6dacc2ce7c3a3974> (patch)
- <https://git.kernel.org/stable/c/c110051d335ef7f62ad33474b0c23997fee5bfb5> (patch)
- <https://git.kernel.org/stable/c/5c4d71424df34fc23dc5336d09394ce68c849542> (patch)
- <https://git.kernel.org/stable/c/c09cdf6eb815ee35e55d6c50ac7f63db58bd20b8> (patch)
- <https://git.kernel.org/stable/c/9311e7a554dffd3823499e309a8b86a5cd1540e5> (patch)
- <https://git.kernel.org/stable/c/1c55982beb80c7d3c30278fc6cfda8496a31dbe6> (patch)
- <https://git.kernel.org/stable/c/0d89254a4320eb7de0970c478172f764125c6355> (patch)
- <https://git.kernel.org/stable/c/a13faca032acbf2699293587085293bdfaafc8ae> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-53078 · Whole record: https://cve.day/CVE-2023-53078.json · Rebuilt by cve.day 2026-11-25T22:58:34.654Z
