Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在 VF 接口上卸载基于 tc 的 TSN 功能。

AI Predicted 7.8 Difficulty: Easy EPSS 0.22% · P12

Affected Version Matrix 8

VendorProduct Version RangeStatus
Linux Linux 34c6adf1977b611fca3b824ad12a2a415e1e420e< 510e703e4ed0e011db860bc21228aff48fc9eea7 affected
34c6adf1977b611fca3b824ad12a2a415e1e420e< 23022b74b1a23bed044f6bc96cf92f6ca5f3e75f affected
34c6adf1977b611fca3b824ad12a2a415e1e420e< 5641c751fe2f92d3d9e8a8e03c1263ac8caa0b42 affected
5.5 affected
< 5.5 unaffected
5.15.71≤ 5.15.* unaffected
5.19.12≤ 5.19.* unaffected
6.0≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-48645

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net: enetc: deny offload of tc-based TSN features on VF interfaces
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在 VF 接口上卸载基于 tc 的 TSN 功能。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 34c6adf1977b611fca3b824ad12a2a415e1e420e ~ 510e703e4ed0e011db860bc21228aff48fc9eea7 -
Linux Linux 5.5 -

II. Public POCs for CVE-2022-48645

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-48645

请登录查看更多情报信息。

Other References for CVE-2022-48645 (3)

Same Patch Batch · Linux · 2024-04-28 · 40 CVEs total

CVE-2022-48666 9.8 CRITICAL scsi: core: Fix a use-after-free
CVE-2022-48652 8.8 HIGH ice: Fix crash by keep old cfg when update TCs more than queues
CVE-2022-48632 7.8 HIGH i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()
CVE-2022-48636 7.8 HIGH s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
CVE-2022-48637 7.8 HIGH bnxt: prevent skb UAF after handing over to PTP worker
CVE-2022-48658 7.5 HIGH mm: slub: fix flush_cpu_slab()/__free_slab() invocations in task context.
CVE-2022-48665 7.1 HIGH exfat: fix overflow for large capacity partition
CVE-2022-48654 7.1 HIGH netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
CVE-2022-48644 net/sched: taprio: avoid disabling offload when it was never enabled
CVE-2022-48649 mm/slab_common: fix possible double free of kmem_cache
CVE-2022-48643 netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
CVE-2022-48642 netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
CVE-2022-48641 netfilter: ebtables: fix memory leak when blob is malformed
CVE-2022-48640 bonding: fix NULL deref in bond_rr_gen_slave_id
CVE-2022-48639 net: sched: fix possible refcount leak in tc_new_tfilter()
CVE-2022-48638 cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
CVE-2022-48635 fsdax: Fix infinite loop in dax_iomap_rw()
CVE-2022-48634 drm/gma500: Fix BUG: sleeping function called from invalid context errors
CVE-2022-48633 drm/gma500: Fix WARN_ON(lock->magic != lock) error
CVE-2022-48631 ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0

Showing top 20 of 40 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-48645

No comments yet


Leave a comment