# CVE-2022-50414: scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails

- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-18T16:03:58.156Z
- Modified: 2026-06-17T05:23:29.833Z
- 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: fcoe: Fix transport not deattached when fcoe_if_init() fails

fcoe_init() calls fcoe_transport_attach(&fcoe_sw_transport), but when
fcoe_if_init() fails, &fcoe_sw_transport is not detached and leaves freed
&fcoe_sw_transport on fcoe_transports list. This causes panic when
reinserting module.

 BUG: unable to handle page fault for address: fffffbfff82e2213
 RIP: 0010:fcoe_transport_attach+0xe1/0x230 [libfcoe]
 Call Trace:
  <TASK>
  do_one_initcall+0xd0/0x4e0
  load_module+0x5eee/0x7210
  ...

(As written by CVE List.)

## Affected

- Linux Linux: from 78a582463c1e3a262aeaf2a291e06a93a7b34212 before d581303d6f8d4139513105d73dd65f26c6707160; from 78a582463c1e3a262aeaf2a291e06a93a7b34212 before b5cc59470df64f26ad397dbb71cbf130cf489edf; from 78a582463c1e3a262aeaf2a291e06a93a7b34212 before cf74d1197c0e3d2f353faa333e9e2847c73713f1; from 78a582463c1e3a262aeaf2a291e06a93a7b34212 before be5f1a82ad6056db22c86005dc4cac22a20deeef; from 78a582463c1e3a262aeaf2a291e06a93a7b34212 before 22e8c7a56bb1cd2ed0beaaccb34282ac9cbbe27e; from 78a582463c1e3a262aeaf2a291e06a93a7b34212 before 09a60f908d8b6497f618113b7c3c31267dc90911; from 78a582463c1e3a262aeaf2a291e06a93a7b34212 before 1dc499c615aa87dc46a3f2d1f91d2d358e55f3e3; from 78a582463c1e3a262aeaf2a291e06a93a7b34212 before aef82d16be5a353d913163f26fc4385e296be2b8; from 78a582463c1e3a262aeaf2a291e06a93a7b34212 before 4155658cee394b22b24c6d64e49247bf26d95b92; 2.6.39 (not affected: before 2.6.39; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 2.6.39 before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## 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/d581303d6f8d4139513105d73dd65f26c6707160> (patch)
- <https://git.kernel.org/stable/c/b5cc59470df64f26ad397dbb71cbf130cf489edf> (patch)
- <https://git.kernel.org/stable/c/cf74d1197c0e3d2f353faa333e9e2847c73713f1> (patch)
- <https://git.kernel.org/stable/c/be5f1a82ad6056db22c86005dc4cac22a20deeef> (patch)
- <https://git.kernel.org/stable/c/22e8c7a56bb1cd2ed0beaaccb34282ac9cbbe27e> (patch)
- <https://git.kernel.org/stable/c/09a60f908d8b6497f618113b7c3c31267dc90911> (patch)
- <https://git.kernel.org/stable/c/1dc499c615aa87dc46a3f2d1f91d2d358e55f3e3> (patch)
- <https://git.kernel.org/stable/c/aef82d16be5a353d913163f26fc4385e296be2b8> (patch)
- <https://git.kernel.org/stable/c/4155658cee394b22b24c6d64e49247bf26d95b92> (patch)

## Sources

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

---

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