# CVE-2022-49825: linux: In the Linux kernel, the following vulnerability has been resolved:  ata: libata-transport: fix error handling in ata...

CVE-2022-49825 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49825, released May 1, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-49825
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0022
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 1, 2025

## Description

In the Linux kernel, the following vulnerability has been resolved:  ata: libata-transport: fix error handling in ata_tport_add()  In ata_tport_add(), the return value of transport_add_device() is not checked. As a result, it causes null-ptr-deref while removing the module, because transport_remove_device() is called to remove the device that was not added.  Unable to handle kernel NULL pointer dereference at virtual address 00000000000000d0 CPU: 12 PID: 13605 Comm: rmmod Kdump: loaded Tainted: G        W          6.1.0-rc3+ #8 pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : device_del+0x48/0x39c lr : device_del+0x44/0x39c Call trace:  device_del+0x48/0x39c  attribute_container_class_device_del+0x28/0x40  transport_remove_classdev+0x60/0x7c  attribute_container_device_trigger+0x118/0x120  transport_remove_device+0x20/0x30  ata_tport_delete+0x34/0x60 [libata]  ata_port_detach+0x148/0x1b0 [libata]  ata_pci_remove_one+0x50/0x80 [libata]  ahci_remove_one+0x4c/0x8c [ahci]  Fix this by checking and handling return value of transport_add_device() in ata_tport_add().

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 6.0.10-1 | [DEBIAN-CVE-2022-49825](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49825.md) | May 1, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.0.10-1 | [DEBIAN-CVE-2022-49825](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49825.md) | May 1, 2025 |
| Linux | linux Debian 14 | 6.0.10-1 | [DEBIAN-CVE-2022-49825](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49825.md) | May 1, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
