跳转到帖子

Red Hat: CVE-2024-36896: kernel: USB: core: Fix access violation during port device removal (Multiple Advisories)

recommended_posts

发布于
  • Members

Red Hat: CVE-2024-36896: kernel: USB: core: Fix access violation during port device removal (Multiple Advisories)

Severity
5
CVSS
(AV:L/AC:L/Au:S/C:N/I:N/A:C)
Published
05/30/2024
Created
08/13/2024
Added
08/12/2024
Modified
12/05/2024

Description

In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix access violation during port device removal Testing with KASAN and syzkaller revealed a bug in port.c:disable_store(): usb_hub_to_struct_hub() can return NULL if the hub that the port belongs to is concurrently removed, but the function does not check for this possibility before dereferencing the returned value. It turns out that the first dereference is unnecessary, since hub->intfdev is the parent of the port device, so it can be changed easily.Adding a check for hub == NULL prevents further problems. The same bug exists in the disable_show() routine, and it can be fixed the same way.

Solution(s)

  • redhat-upgrade-kernel
  • redhat-upgrade-kernel-rt

References

  • CVE-2024-36896
  • RHSA-2024:5101
  • RHSA-2024:5102
  • RHSA-2024:9315
  • 查看数 699
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。

游客
回帖…