# CVE-2022-49354: ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-02-26T02:11:05.466Z
- Modified: 2026-06-17T05:17:48.363Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe

of_find_device_by_node() takes reference, we should use put_device()
to release it when not need anymore.
Add missing put_device() to avoid refcount leak.

(As written by CVE List.)

## Affected

- Linux Linux: from 43f01da0f2794b464ade2ffe1f780c69d7ce7b75 before 7bd85c5ba1687daf54e3b6907673c3604b1e75cf; from 43f01da0f2794b464ade2ffe1f780c69d7ce7b75 before a4d3e5f1d7d4f8b5e3834fec0f057a762c55806b; from 43f01da0f2794b464ade2ffe1f780c69d7ce7b75 before 8d8ad067b90f231b8fdb14acee673ca4012f6045; from 43f01da0f2794b464ade2ffe1f780c69d7ce7b75 before d5a1e7f33c88780b279835d63665d7e38ccb671f; from 43f01da0f2794b464ade2ffe1f780c69d7ce7b75 before 19cb3ece14547cb1ca2021798aaf49a3f82643d1; from 43f01da0f2794b464ade2ffe1f780c69d7ce7b75 before 888312dc297a8a103f6371ef668c7e04f57a7679; from 43f01da0f2794b464ade2ffe1f780c69d7ce7b75 before c9782e1b21bee4b783a64b2a91e7e71406c21a21; from 43f01da0f2794b464ade2ffe1f780c69d7ce7b75 before fb2cb409b504bb3a69e65a17f3120328c8e50219; from 43f01da0f2794b464ade2ffe1f780c69d7ce7b75 before 10d6bdf532902be1d8aa5900b3c03c5671612aa2; 3.8 (not affected: before 3.8; from 4.9.318 up to 4.9.*; from 4.14.283 up to 4.14.*; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 3.8 before 4.9.318; from 4.10 before 4.14.283; from 4.15 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.122; from 5.11 before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4; 5.19

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/7bd85c5ba1687daf54e3b6907673c3604b1e75cf> (patch)
- <https://git.kernel.org/stable/c/a4d3e5f1d7d4f8b5e3834fec0f057a762c55806b> (patch)
- <https://git.kernel.org/stable/c/8d8ad067b90f231b8fdb14acee673ca4012f6045> (patch)
- <https://git.kernel.org/stable/c/d5a1e7f33c88780b279835d63665d7e38ccb671f> (patch)
- <https://git.kernel.org/stable/c/19cb3ece14547cb1ca2021798aaf49a3f82643d1> (patch)
- <https://git.kernel.org/stable/c/888312dc297a8a103f6371ef668c7e04f57a7679> (patch)
- <https://git.kernel.org/stable/c/c9782e1b21bee4b783a64b2a91e7e71406c21a21> (patch)
- <https://git.kernel.org/stable/c/fb2cb409b504bb3a69e65a17f3120328c8e50219> (patch)
- <https://git.kernel.org/stable/c/10d6bdf532902be1d8aa5900b3c03c5671612aa2> (patch)

## Sources

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

---

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