# CVE-2022-50727: scsi: efct: Fix possible memleak in efct\_device\_init()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-24T12:22:48.315Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running Linux \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< 038359eeccffaf0de4c1c9c51ee19cc5649619a1; \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< 0c6e6bb30229b1297ac0fd7ede2941d2322fc736; \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< c7e96168a8ca3be96c4959475164bef31115f07e; \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< bb0cd225dd37df1f4a22e36dad59ff33178ecdfc
- Anyone running Linux 5.14

## Description

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

scsi: efct: Fix possible memleak in efct\_device\_init()

In efct\_device\_init(), when efct\_scsi\_reg\_fc\_transport() fails,
efct\_scsi\_tgt\_driver\_exit() is not called to release memory for
efct\_scsi\_tgt\_driver\_init() and causes memleak:

unreferenced object 0xffff8881020ce000 (size 2048):
  comm "modprobe", pid 465, jiffies 4294928222 (age 55.872s)
  backtrace:
    \[\<0000000021a1ef1b\>\] kmalloc\_trace+0x27/0x110
    \[\<000000004c3ed51c\>\] target\_register\_template+0x4fd/0x7b0 \[target\_core\_mod\]
    \[\<00000000f3393296\>\] efct\_scsi\_tgt\_driver\_init+0x18/0x50 \[efct\]
    \[\<00000000115de533\>\] 0xffffffffc0d90011
    \[\<00000000d608f646\>\] do\_one\_initcall+0xd0/0x4e0
    \[\<0000000067828cf1\>\] do\_init\_module+0x1cc/0x6a0
    ...

## Affected and fixed versions

- Linux: \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< 038359eeccffaf0de4c1c9c51ee19cc5649619a1; \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< 0c6e6bb30229b1297ac0fd7ede2941d2322fc736; \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< c7e96168a8ca3be96c4959475164bef31115f07e; \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< bb0cd225dd37df1f4a22e36dad59ff33178ecdfc (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50727. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50727.md
Affected: Linux >= 4df84e8466242de835416a4ec0c856c0e2ed26eb, < 038359eeccffaf0de4c1c9c51ee19cc5649619a1; >= 4df84e8466242de835416a4ec0c856c0e2ed26eb, < 0c6e6bb30229b1297ac0fd7ede2941d2322fc736; >= 4df84e8466242de835416a4ec0c856c0e2ed26eb, < c7e96168a8ca3be96c4959475164bef31115f07e; >= 4df84e8466242de835416a4…
Fixed in: Linux 038359eeccffaf0de4c1c9c51ee19cc5649619a1, Linux 0c6e6bb30229b1297ac0fd7ede2941d2322fc736

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50727 being exploited?

There is no confirmed exploitation: CVE-2022-50727 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50727?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50727?

Linux \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< 038359eeccffaf0de4c1c9c51ee19cc5649619a1; \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< 0c6e6bb30229b1297ac0fd7ede2941d2322fc736; \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< c7e96168a8ca3be96c4959475164bef31115f07e; \>= 4df84e8466242de835416a4ec0c856c0e2ed26eb, \< bb0cd225dd37df1f4a22e36dad59ff33178ecdfc; Linux 5.14.

### Is there a fix for CVE-2022-50727?

Yes. Fixed in Linux 038359eeccffaf0de4c1c9c51ee19cc5649619a1, Linux 0c6e6bb30229b1297ac0fd7ede2941d2322fc736. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50727?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/038359eeccffaf0de4c1c9c51ee19cc5649619a1>
- other: <https://git.kernel.org/stable/c/0c6e6bb30229b1297ac0fd7ede2941d2322fc736>
- other: <https://git.kernel.org/stable/c/c7e96168a8ca3be96c4959475164bef31115f07e>
- other: <https://git.kernel.org/stable/c/bb0cd225dd37df1f4a22e36dad59ff33178ecdfc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50727>

HTML: <https://flawdb.com/CVE-2022-50727> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50727>
