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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-47090— mm/hwpoison: clear MF_COUNT_INCREASED before retrying get_any_page()

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

I. Basic Information for CVE-2021-47090

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
mm/hwpoison: clear MF_COUNT_INCREASED before retrying get_any_page()
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mm/hwpoison: clear MF_COUNT_INCREASED before retrying get_any_page() Hulk Robot reported a panic in put_page_testzero() when testing madvise() with MADV_SOFT_OFFLINE. The BUG() is triggered when retrying get_any_page(). This is because we keep MF_COUNT_INCREASED flag in second try but the refcnt is not increased. page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0) ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:737! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 5 PID: 2135 Comm: sshd Tainted: G B 5.16.0-rc6-dirty #373 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 RIP: release_pages+0x53f/0x840 Call Trace: free_pages_and_swap_cache+0x64/0x80 tlb_flush_mmu+0x6f/0x220 unmap_page_range+0xe6c/0x12c0 unmap_single_vma+0x90/0x170 unmap_vmas+0xc4/0x180 exit_mmap+0xde/0x3a0 mmput+0xa3/0x250 do_exit+0x564/0x1470 do_group_exit+0x3b/0x100 __do_sys_exit_group+0x13/0x20 __x64_sys_exit_group+0x16/0x20 do_syscall_64+0x34/0x80 entry_SYSCALL_64_after_hwframe+0x44/0xae Modules linked in: ---[ end trace e99579b570fe0649 ]--- RIP: 0010:release_pages+0x53f/0x840
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 存在安全漏洞,该漏洞源于mm/hwpoison中的get_any_page()存在安全问题。
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 b94e02822debdf0cc473556aad7dcc859f216653 ~ 1f207076740101fed87074a6bc924dbe806f08a5 -
LinuxLinux 5.10 -

II. Public POCs for CVE-2021-47090

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-47090

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-03-04 · 26 CVEs total

CVE-2021-47096ALSA: rawmidi - fix the uninitalized user_pversion
CVE-2021-47108drm/mediatek: hdmi: Perform NULL pointer check for mtk_hdmi_conf
CVE-2021-47107NFSD: Fix READDIR buffer overflow
CVE-2021-47106netfilter: nf_tables: fix use-after-free in nft_set_catchall_destroy()
CVE-2021-47105ice: xsk: return xsk buffers back to pool when cleaning the ring
CVE-2021-47104IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
CVE-2021-47103inet: fully convert sk->sk_rx_dst to RCU rules
CVE-2021-47102net: marvell: prestera: fix incorrect structure access
CVE-2021-47101asix: fix uninit-value in asix_mdio_read()
CVE-2021-47100ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module
CVE-2021-47099veth: ensure skb entering GRO are not cloned.
CVE-2021-47098hwmon: (lm90) Prevent integer overflow/underflow in hysteresis calculations
CVE-2021-47097Input: elantech - fix stack out of bound access in elantech_change_report_id()
CVE-2024-26622tomoyo: fix UAF write bug in tomoyo_write_control()
CVE-2021-47095ipmi: ssif: initialize ssif_info->client early
CVE-2021-47094KVM: x86/mmu: Don't advance iterator after restart due to yielding
CVE-2021-47093platform/x86: intel_pmc_core: fix memleak on registration failure
CVE-2021-47092KVM: VMX: Always clear vmx->fail on emulation_required
CVE-2021-47091mac80211: fix locking in ieee80211_start_ap error path
CVE-2021-47089kfence: fix memory leak when cat kfence objects

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

IV. Related Vulnerabilities

V. Comments for CVE-2021-47090

No comments yet


Leave a comment