目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2022-48644— Linux kernel 安全漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞。攻击者利用该漏洞导致内核崩溃。

AI 预测 6.5 利用难度: 中等 EPSS 0.23% · P13

影响版本矩阵 12

厂商产品 版本范围状态
Linux Linux 9c66d15646760eb8982242b4531c4d4fd36118fd< d12a1eb07003e597077329767c6aa86a7e972c76 affected
9c66d15646760eb8982242b4531c4d4fd36118fd< 586def6ebed195f3594a4884f7c5334d0e1ad1bb affected
9c66d15646760eb8982242b4531c4d4fd36118fd< f58e43184226e5e9662088ccf1389e424a3a4cbd affected
9c66d15646760eb8982242b4531c4d4fd36118fd< c7c9c7eb305ab8b4e93e4e4e1b78d8cfcbc26323 affected
9c66d15646760eb8982242b4531c4d4fd36118fd< db46e3a88a09c5cf7e505664d01da7238cd56c92 affected
5.4 affected
< 5.4 unaffected
5.4.215≤ 5.4.* unaffected
… +4 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2022-48644 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
net/sched: taprio: avoid disabling offload when it was never enabled
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: taprio: avoid disabling offload when it was never enabled In an incredibly strange API design decision, qdisc->destroy() gets called even if qdisc->init() never succeeded, not exclusively since commit 87b60cfacf9f ("net_sched: fix error recovery at qdisc creation"), but apparently also earlier (in the case of qdisc_create_dflt()). The taprio qdisc does not fully acknowledge this when it attempts full offload, because it starts off with q->flags = TAPRIO_FLAGS_INVALID in taprio_init(), then it replaces q->flags with TCA_TAPRIO_ATTR_FLAGS parsed from netlink (in taprio_change(), tail called from taprio_init()). But in taprio_destroy(), we call taprio_disable_offload(), and this determines what to do based on FULL_OFFLOAD_IS_ENABLED(q->flags). But looking at the implementation of FULL_OFFLOAD_IS_ENABLED() (a bitwise check of bit 1 in q->flags), it is invalid to call this macro on q->flags when it contains TAPRIO_FLAGS_INVALID, because that is set to U32_MAX, and therefore FULL_OFFLOAD_IS_ENABLED() will return true on an invalid set of flags. As a result, it is possible to crash the kernel if user space forces an error between setting q->flags = TAPRIO_FLAGS_INVALID, and the calling of taprio_enable_offload(). This is because drivers do not expect the offload to be disabled when it was never enabled. The error that we force here is to attach taprio as a non-root qdisc, but instead as child of an mqprio root qdisc: $ tc qdisc add dev swp0 root handle 1: \ mqprio 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 hw 0 $ tc qdisc replace dev swp0 parent 1:1 \ 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 990000 sched-entry S 0x80 100000 \ flags 0x0 clockid CLOCK_TAI Unable to handle kernel paging request at virtual address fffffffffffffff8 [fffffffffffffff8] pgd=0000000000000000, p4d=0000000000000000 Internal error: Oops: 96000004 [#1] PREEMPT SMP Call trace: taprio_dump+0x27c/0x310 vsc9959_port_setup_tc+0x1f4/0x460 felix_port_setup_tc+0x24/0x3c dsa_slave_setup_tc+0x54/0x27c taprio_disable_offload.isra.0+0x58/0xe0 taprio_destroy+0x80/0x104 qdisc_create+0x240/0x470 tc_modify_qdisc+0x1fc/0x6b0 rtnetlink_rcv_msg+0x12c/0x390 netlink_rcv_skb+0x5c/0x130 rtnetlink_rcv+0x1c/0x2c Fix this by keeping track of the operations we made, and undo the offload only if we actually did it. I've added "bool offloaded" inside a 4 byte hole between "int clockid" and "atomic64_t picos_per_byte". Now the first cache line looks like below: $ pahole -C taprio_sched net/sched/sch_taprio.o struct taprio_sched { struct Qdisc * * qdiscs; /* 0 8 */ struct Qdisc * root; /* 8 8 */ u32 flags; /* 16 4 */ enum tk_offsets tk_offset; /* 20 4 */ int clockid; /* 24 4 */ bool offloaded; /* 28 1 */ /* XXX 3 bytes hole, try to pack */ atomic64_t picos_per_byte; /* 32 0 */ /* XXX 8 bytes hole, try to pack */ spinlock_t current_entry_lock; /* 40 0 */ /* XXX 8 bytes hole, try to pack */ struct sched_entry * current_entry; /* 48 8 */ struct sched_gate_list * oper_sched; /* 56 8 */ /* --- cacheline 1 boundary (64 bytes) --- */
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞。攻击者利用该漏洞导致内核崩溃。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 9c66d15646760eb8982242b4531c4d4fd36118fd ~ d12a1eb07003e597077329767c6aa86a7e972c76 -
Linux Linux 5.4 -

二、漏洞 CVE-2022-48644 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2022-48644 的情报信息

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

CVE-2022-48644 其他参考 (5)

同批安全公告 · Linux · 2024-04-28 · 共 40 条

CVE-2022-48666 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-48652 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48632 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48636 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48637 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48658 7.5 HIGH Linux kernel 安全漏洞
CVE-2022-48665 7.1 HIGH Linux kernel 安全漏洞
CVE-2022-48654 7.1 HIGH Linux kernel 安全漏洞
CVE-2022-48645 Linux kernel 安全漏洞
CVE-2022-48649 Linux kernel 安全漏洞
CVE-2022-48643 Linux kernel 安全漏洞
CVE-2022-48642 Linux kernel 安全漏洞
CVE-2022-48641 Linux kernel 安全漏洞
CVE-2022-48640 Linux kernel 安全漏洞
CVE-2022-48639 Linux kernel 安全漏洞
CVE-2022-48638 Linux kernel 安全漏洞
CVE-2022-48635 Linux kernel 安全漏洞
CVE-2022-48634 Linux kernel 安全漏洞
CVE-2022-48633 Linux kernel 安全漏洞
CVE-2022-48631 Linux kernel 安全漏洞

显示前 20 条,共 40 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-48644

暂无评论


发表评论