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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-46845— tracing/timerlat: Only clear timer if a kthread exists

EPSS 0.02% · P6
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-46845

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
tracing/timerlat: Only clear timer if a kthread exists
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: tracing/timerlat: Only clear timer if a kthread exists The timerlat tracer can use user space threads to check for osnoise and timer latency. If the program using this is killed via a SIGTERM, the threads are shutdown one at a time and another tracing instance can start up resetting the threads before they are fully closed. That causes the hrtimer assigned to the kthread to be shutdown and freed twice when the dying thread finally closes the file descriptors, causing a use-after-free bug. Only cancel the hrtimer if the associated thread is still around. Also add the interface_lock around the resetting of the tlat_var->kthread. Note, this is just a quick fix that can be backported to stable. A real fix is to have a better synchronization between the shutdown of old threads and the starting of new ones.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在清除计时器时,未确保kthread仍然存在。
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux e88ed227f639ebcb31ed4e5b88756b47d904584b ~ 8c72f0b2c45f21cb8b00fc37f79f632d7e46c2ed -
LinuxLinux 6.5 -

II. Public POCs for CVE-2024-46845

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-46845

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-09-27 · 66 CVEs total

CVE-2024-46846spi: rockchip: Resolve unbalanced runtime PM / system PM handling
CVE-2024-46865fou: fix initialization of grc
CVE-2024-46864x86/hyperv: fix kexec crash due to VP assist page corruption
CVE-2024-46863ASoC: Intel: soc-acpi-intel-lnl-match: add missing empty item
CVE-2024-46851drm/amd/display: Avoid race between dcn10_set_drr() and dc_state_destruct()
CVE-2024-46852dma-buf: heaps: Fix off-by-one in CMA heap fault handler
CVE-2024-46850drm/amd/display: Avoid race between dcn35_set_drr() and dc_state_destruct()
CVE-2024-46849ASoC: meson: axg-card: fix 'use-after-free'
CVE-2024-46848perf/x86/intel: Limit the period on Haswell
CVE-2024-46847mm: vmalloc: ensure vmap_block is initialised before adding to queue
CVE-2024-46853spi: nxp-fspi: fix the KASAN report out-of-bounds bug
CVE-2024-46844um: line: always fill *error_out in setup_one_line()
CVE-2024-46843scsi: ufs: core: Remove SCSI host only if added
CVE-2024-46841btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc()
CVE-2024-46842scsi: lpfc: Handle mailbox timeouts in lpfc_get_sfp_info
CVE-2024-46840btrfs: clean up our handling of refs == 0 in snapshot delete
CVE-2024-46838userfaultfd: don't BUG_ON() if khugepaged yanks our page table
CVE-2024-46837drm/panthor: Restrict high priorities on group_create
CVE-2024-46835drm/amdgpu: Fix smatch static checker warning
CVE-2024-46836usb: gadget: aspeed_udc: validate endpoint index for ast udc

Showing top 20 of 66 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2024-46845

No comments yet


Leave a comment