# CVE-2022-48645: net: enetc: deny offload of tc-based TSN features on VF interfaces

> 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.30% (percentile 16, 2026-11-26)
- **Published:** 2024-04-28T13:00:11.615Z
- **Modified:** 2026-06-17T05:15:48.563Z

## Who should check

- Anyone running Linux \>= 34c6adf1977b611fca3b824ad12a2a415e1e420e, \< 510e703e4ed0e011db860bc21228aff48fc9eea7; \>= 34c6adf1977b611fca3b824ad12a2a415e1e420e, \< 23022b74b1a23bed044f6bc96cf92f6ca5f3e75f; \>= 34c6adf1977b611fca3b824ad12a2a415e1e420e, \< 5641c751fe2f92d3d9e8a8e03c1263ac8caa0b42
- Anyone running Linux 5.5

## Description

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

net: enetc: deny offload of tc-based TSN features on VF interfaces

TSN features on the ENETC (taprio, cbs, gate, police) are configured
through a mix of command BD ring messages and port registers:
enetc\_port\_rd(), enetc\_port\_wr().

Port registers are a region of the ENETC memory map which are only
accessible from the PCIe Physical Function. They are not accessible from
the Virtual Functions.

Moreover, attempting to access these registers crashes the kernel:

$ echo 1 \> /sys/bus/pci/devices/0000\\:00\\:00.0/sriov\_numvfs
pci 0000:00:01.0: \[1957:ef00\] type 00 class 0x020001
fsl\_enetc\_vf 0000:00:01.0: Adding to iommu group 15
fsl\_enetc\_vf 0000:00:01.0: enabling device (0000 -\> 0002)
fsl\_enetc\_vf 0000:00:01.0 eno0vf0: renamed from eth0
$ tc qdisc replace dev eno0vf0 root taprio num\_tc 8 map 0 1 2 3 4 5 6 7 \\
	queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 base-time 0 \\
	sched-entry S 0x7f 900000 sched-entry S 0x80 100000 flags 0x2
Unable to handle kernel paging request at virtual address ffff800009551a08
Internal error: Oops: 96000007 \[\#1\] PREEMPT SMP
pc : enetc\_setup\_tc\_taprio+0x170/0x47c
lr : enetc\_setup\_tc\_taprio+0x16c/0x47c
Call trace:
 enetc\_setup\_tc\_taprio+0x170/0x47c
 enetc\_setup\_tc+0x38/0x2dc
 taprio\_change+0x43c/0x970
 taprio\_init+0x188/0x1e0
 qdisc\_create+0x114/0x470
 tc\_modify\_qdisc+0x1fc/0x6c0
 rtnetlink\_rcv\_msg+0x12c/0x390

Split enetc\_setup\_tc() into separate functions for the PF and for the
VF drivers. Also remove enetc\_qos.o from being included into
enetc-vf.ko, since it serves absolutely no purpose there.

## Affected and fixed versions

- Linux: \>= 34c6adf1977b611fca3b824ad12a2a415e1e420e, \< 510e703e4ed0e011db860bc21228aff48fc9eea7; \>= 34c6adf1977b611fca3b824ad12a2a415e1e420e, \< 23022b74b1a23bed044f6bc96cf92f6ca5f3e75f; \>= 34c6adf1977b611fca3b824ad12a2a415e1e420e, \< 5641c751fe2f92d3d9e8a8e03c1263ac8caa0b42 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2022-48645.md
Affected: Linux >= 34c6adf1977b611fca3b824ad12a2a415e1e420e, < 510e703e4ed0e011db860bc21228aff48fc9eea7; >= 34c6adf1977b611fca3b824ad12a2a415e1e420e, < 23022b74b1a23bed044f6bc96cf92f6ca5f3e75f; >= 34c6adf1977b611fca3b824ad12a2a415e1e420e, < 5641c751fe2f92d3d9e8a8e03c1263ac8caa0b42; Linux 5.5
Fixed in: Linux 510e703e4ed0e011db860bc21228aff48fc9eea7, Linux 23022b74b1a23bed044f6bc96cf92f6ca5f3e75f, Linux 5641c751fe2f92d3d9e8a8e03c1263ac8caa0b42

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

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

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

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

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

Linux \>= 34c6adf1977b611fca3b824ad12a2a415e1e420e, \< 510e703e4ed0e011db860bc21228aff48fc9eea7; \>= 34c6adf1977b611fca3b824ad12a2a415e1e420e, \< 23022b74b1a23bed044f6bc96cf92f6ca5f3e75f; \>= 34c6adf1977b611fca3b824ad12a2a415e1e420e, \< 5641c751fe2f92d3d9e8a8e03c1263ac8caa0b42; Linux 5.5.

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

Yes. Fixed in Linux 510e703e4ed0e011db860bc21228aff48fc9eea7, Linux 23022b74b1a23bed044f6bc96cf92f6ca5f3e75f, Linux 5641c751fe2f92d3d9e8a8e03c1263ac8caa0b42. Upgrade Linux to 5641c751fe2f92d3d9e8a8e03c1263ac8caa0b42 or later.

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

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/510e703e4ed0e011db860bc21228aff48fc9eea7>
- patch: <https://git.kernel.org/stable/c/23022b74b1a23bed044f6bc96cf92f6ca5f3e75f>
- patch: <https://git.kernel.org/stable/c/5641c751fe2f92d3d9e8a8e03c1263ac8caa0b42>

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

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