# CVE-2022-50486: net: ethernet: ti: Fix return type of netcp\_ndo\_start\_xmit()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 8, 2026-11-26)
- **Published:** 2025-10-04T15:16:43.791Z
- **Modified:** 2026-06-17T05:23:39.080Z

## Who should check

- Anyone running Linux \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< a447479ea2cf35603b5739ea947885024b901222; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 17bb9bdf701f3e811a9f4820b08b9538ade2641c; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< d837d74eae077cc3ef9e191ba8535b5f602d4673; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< dbe1a6b930ae9647e8ce0b684c903ac67d4398eb; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 5b0b6553bf4ad3a435a57e02c68d6075f384e1be; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< a413ebb6049edd881c6427cfa25a7efddd6a4f74; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 765636e58ba505cfe4927eda7ee83791b1c6402a; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 1e4953b826e12b31995564a459dbd4e9e4604a35; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 63fe6ff674a96cfcfc0fa8df1051a27aa31c70b4
- Anyone running Linux 4.0

## Description

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

net: ethernet: ti: Fix return type of netcp\_ndo\_start\_xmit()

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/net/ethernet/ti/netcp\_core.c:1944: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         = netcp\_ndo\_start\_xmit,
                                    ^~~~~~~~~~~~~~~~~~~~
  1 error generated.

-\>ndo\_start\_xmit() in 'struct net\_device\_ops' expects a return type of
'netdev\_tx\_t', not 'int'. Adjust the return type of
netcp\_ndo\_start\_xmit() to match the prototype's to resolve the warning
and CFI failure.

## Affected and fixed versions

- Linux: \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< a447479ea2cf35603b5739ea947885024b901222; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 17bb9bdf701f3e811a9f4820b08b9538ade2641c; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< d837d74eae077cc3ef9e191ba8535b5f602d4673; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< dbe1a6b930ae9647e8ce0b684c903ac67d4398eb; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 5b0b6553bf4ad3a435a57e02c68d6075f384e1be; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< a413ebb6049edd881c6427cfa25a7efddd6a4f74; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 765636e58ba505cfe4927eda7ee83791b1c6402a; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 1e4953b826e12b31995564a459dbd4e9e4604a35; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 63fe6ff674a96cfcfc0fa8df1051a27aa31c70b4 (cvelist)
- Linux: 4.0 (cvelist)

## Mitigation

- Upgrade Linux to 63fe6ff674a96cfcfc0fa8df1051a27aa31c70b4 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-50486. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50486.md
Affected: Linux >= 84640e27f23041d474c31d3362c3e2185ad68ec2, < a447479ea2cf35603b5739ea947885024b901222; >= 84640e27f23041d474c31d3362c3e2185ad68ec2, < 17bb9bdf701f3e811a9f4820b08b9538ade2641c; >= 84640e27f23041d474c31d3362c3e2185ad68ec2, < d837d74eae077cc3ef9e191ba8535b5f602d4673; >= 84640e27f23041d474c31d3…
Fixed in: Linux 17bb9bdf701f3e811a9f4820b08b9538ade2641c, Linux 5b0b6553bf4ad3a435a57e02c68d6075f384e1be, Linux 765636e58ba505cfe4927eda7ee83791b1c6402a, Linux 1e4953b826e12b31995564a459dbd4e9e4604a35, Linux 63fe6ff674a96cfcfc0fa8df1051a27aa31c70b4

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

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< a447479ea2cf35603b5739ea947885024b901222; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 17bb9bdf701f3e811a9f4820b08b9538ade2641c; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< d837d74eae077cc3ef9e191ba8535b5f602d4673; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< dbe1a6b930ae9647e8ce0b684c903ac67d4398eb; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 5b0b6553bf4ad3a435a57e02c68d6075f384e1be; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< a413ebb6049edd881c6427cfa25a7efddd6a4f74; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 765636e58ba505cfe4927eda7ee83791b1c6402a; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 1e4953b826e12b31995564a459dbd4e9e4604a35; \>= 84640e27f23041d474c31d3362c3e2185ad68ec2, \< 63fe6ff674a96cfcfc0fa8df1051a27aa31c70b4; Linux 4.0.

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

Yes. Fixed in Linux 17bb9bdf701f3e811a9f4820b08b9538ade2641c, Linux 5b0b6553bf4ad3a435a57e02c68d6075f384e1be, Linux 765636e58ba505cfe4927eda7ee83791b1c6402a, Linux 1e4953b826e12b31995564a459dbd4e9e4604a35, Linux 63fe6ff674a96cfcfc0fa8df1051a27aa31c70b4. Upgrade Linux to 63fe6ff674a96cfcfc0fa8df1051a27aa31c70b4 or later.

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

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

- patch: <https://git.kernel.org/stable/c/a447479ea2cf35603b5739ea947885024b901222>
- patch: <https://git.kernel.org/stable/c/17bb9bdf701f3e811a9f4820b08b9538ade2641c>
- patch: <https://git.kernel.org/stable/c/d837d74eae077cc3ef9e191ba8535b5f602d4673>
- patch: <https://git.kernel.org/stable/c/dbe1a6b930ae9647e8ce0b684c903ac67d4398eb>
- patch: <https://git.kernel.org/stable/c/5b0b6553bf4ad3a435a57e02c68d6075f384e1be>
- patch: <https://git.kernel.org/stable/c/a413ebb6049edd881c6427cfa25a7efddd6a4f74>
- patch: <https://git.kernel.org/stable/c/765636e58ba505cfe4927eda7ee83791b1c6402a>
- patch: <https://git.kernel.org/stable/c/1e4953b826e12b31995564a459dbd4e9e4604a35>
- patch: <https://git.kernel.org/stable/c/63fe6ff674a96cfcfc0fa8df1051a27aa31c70b4>

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

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