Menu

Star on GitHub · 3.4k

CVE-2022-48645

5.5 · MEDIUM

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 co…

Published Apr 28, 2024EPSS 0.22%

Overview

CVE-2022-48645 is a medium-severity vulnerability. It was published on April 28, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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 0x

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-48645?

CVE-2022-48645 is a medium-severity vulnerability. It was published on April 28, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-48645?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-48645?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-48645?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-48645 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all
LiveWatch live →