# CVE-2022-50564: s390/netiucv: Fix return type of netiucv\_tx()

> 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.32% (percentile 18, 2026-11-26)
- **Published:** 2025-10-22T13:23:22.703Z
- **Modified:** 2026-06-17T05:23:48.027Z

## Who should check

- Anyone running Linux \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< f13d870fce90f01cf930bfaffecc8185ae0be21c; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< eccc88c0efe407e579291792ad07a7dedc0f63f0; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 85d392710275355425df8618ccbebbc336f5acc5; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 4bee3c75d5bf7c2b5dc0b520410eb40449e5da31; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 3ac0217ca9186c2f9af9a0113a331a42aa847894; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< dfbf0122ea1b9b3e73fa22c8ff6bd888935c54fc; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< e7a849f740e3576e79cba403697e916f4c3a6f12; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< d034fa43af92fc46a81d882f46d9cc3e4ffdbbcc; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 88d86d18d7cf7e9137c95f9d212bb9fff8a1b4be
- Anyone running Linux 2.6.32

## Description

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

s390/netiucv: Fix return type of netiucv\_tx()

With clang's kernel control flow integrity (kCFI, CONFIG\_CFI\_CLANG),
indirect call targets are validated against the expected function
pointer prototype to make sure the call target is valid to help mitigate
ROP attacks. If they are not identical, there is a failure at run time,
which manifests as either a kernel panic or thread getting killed. A
proposed warning in clang aims to catch these at compile time, which
reveals:

  drivers/s390/net/netiucv.c:1854:21: error: incompatible function pointer types initializing 'netdev\_tx\_t (\*)(struct sk\_buff \*, struct net\_device \*)' (aka 'enum netdev\_tx (\*)(struct sk\_buff \*, struct net\_device \*)') with an expression of type 'int (struct sk\_buff \*, struct net\_device \*)' \[-Werror,-Wincompatible-function-pointer-types-strict\]
          .ndo\_start\_xmit         = netiucv\_tx,
                                    ^~~~~~~~~~

-\>ndo\_start\_xmit() in 'struct net\_device\_ops' expects a return type of
'netdev\_tx\_t', not 'int'. Adjust the return type of netiucv\_tx() to
match the prototype's to resolve the warning and potential CFI failure,
should s390 select ARCH\_SUPPORTS\_CFI\_CLANG in the future.

Additionally, while in the area, remove a comment block that is no
longer relevant.

## Affected and fixed versions

- Linux: \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< f13d870fce90f01cf930bfaffecc8185ae0be21c; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< eccc88c0efe407e579291792ad07a7dedc0f63f0; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 85d392710275355425df8618ccbebbc336f5acc5; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 4bee3c75d5bf7c2b5dc0b520410eb40449e5da31; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 3ac0217ca9186c2f9af9a0113a331a42aa847894; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< dfbf0122ea1b9b3e73fa22c8ff6bd888935c54fc; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< e7a849f740e3576e79cba403697e916f4c3a6f12; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< d034fa43af92fc46a81d882f46d9cc3e4ffdbbcc; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 88d86d18d7cf7e9137c95f9d212bb9fff8a1b4be (cvelist)
- Linux: 2.6.32 (cvelist)

## Mitigation

- Upgrade Linux to 88d86d18d7cf7e9137c95f9d212bb9fff8a1b4be or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-50564.md
Affected: Linux >= dc1f8bf68b311b1537cb65893430b6796118498a, < f13d870fce90f01cf930bfaffecc8185ae0be21c; >= dc1f8bf68b311b1537cb65893430b6796118498a, < eccc88c0efe407e579291792ad07a7dedc0f63f0; >= dc1f8bf68b311b1537cb65893430b6796118498a, < 85d392710275355425df8618ccbebbc336f5acc5; >= dc1f8bf68b311b1537cb658…
Fixed in: Linux 85d392710275355425df8618ccbebbc336f5acc5, Linux 4bee3c75d5bf7c2b5dc0b520410eb40449e5da31, Linux 3ac0217ca9186c2f9af9a0113a331a42aa847894, Linux 88d86d18d7cf7e9137c95f9d212bb9fff8a1b4be

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-50564 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< f13d870fce90f01cf930bfaffecc8185ae0be21c; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< eccc88c0efe407e579291792ad07a7dedc0f63f0; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 85d392710275355425df8618ccbebbc336f5acc5; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 4bee3c75d5bf7c2b5dc0b520410eb40449e5da31; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 3ac0217ca9186c2f9af9a0113a331a42aa847894; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< dfbf0122ea1b9b3e73fa22c8ff6bd888935c54fc; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< e7a849f740e3576e79cba403697e916f4c3a6f12; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< d034fa43af92fc46a81d882f46d9cc3e4ffdbbcc; \>= dc1f8bf68b311b1537cb65893430b6796118498a, \< 88d86d18d7cf7e9137c95f9d212bb9fff8a1b4be; Linux 2.6.32.

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

Yes. Fixed in Linux 85d392710275355425df8618ccbebbc336f5acc5, Linux 4bee3c75d5bf7c2b5dc0b520410eb40449e5da31, Linux 3ac0217ca9186c2f9af9a0113a331a42aa847894, Linux 88d86d18d7cf7e9137c95f9d212bb9fff8a1b4be. Upgrade Linux to 88d86d18d7cf7e9137c95f9d212bb9fff8a1b4be or later.

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

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/f13d870fce90f01cf930bfaffecc8185ae0be21c>
- other: <https://git.kernel.org/stable/c/eccc88c0efe407e579291792ad07a7dedc0f63f0>
- other: <https://git.kernel.org/stable/c/85d392710275355425df8618ccbebbc336f5acc5>
- other: <https://git.kernel.org/stable/c/4bee3c75d5bf7c2b5dc0b520410eb40449e5da31>
- other: <https://git.kernel.org/stable/c/3ac0217ca9186c2f9af9a0113a331a42aa847894>
- other: <https://git.kernel.org/stable/c/dfbf0122ea1b9b3e73fa22c8ff6bd888935c54fc>
- other: <https://git.kernel.org/stable/c/e7a849f740e3576e79cba403697e916f4c3a6f12>
- other: <https://git.kernel.org/stable/c/d034fa43af92fc46a81d882f46d9cc3e4ffdbbcc>
- other: <https://git.kernel.org/stable/c/88d86d18d7cf7e9137c95f9d212bb9fff8a1b4be>

## 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-50564>

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