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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-50868— hwrng: amd - Fix PCI device refcount leak

AI Predicted 5.5 Difficulty: Moderate EPSS 0.21% · P12

Possible ATT&CK Techniques 1AI

T1562.008

Affected Version Matrix 20

VendorProductVersion RangeStatus
LinuxLinux96d63c0297ccfd6d9059c614b3f5555d9441a2b3< f1c97f72ffd504f49882774e2ab689d982dc7afcaffected
96d63c0297ccfd6d9059c614b3f5555d9441a2b3< 526c316948819d3ecd2bb20fe5e2580c51a1b760affected
96d63c0297ccfd6d9059c614b3f5555d9441a2b3< e246f5eff26055bdcb61a2cc99c50af72a19680faffected
96d63c0297ccfd6d9059c614b3f5555d9441a2b3< 1199f8e02941b326c60ab71a63002b7c80e38212affected
96d63c0297ccfd6d9059c614b3f5555d9441a2b3< 5998e5c30e839f73e62cb29e0d9617b0d16ccba3affected
96d63c0297ccfd6d9059c614b3f5555d9441a2b3< 2b79a5e560779b35e1164d57ae35c48b43373082affected
96d63c0297ccfd6d9059c614b3f5555d9441a2b3< cb348c7908631dd9f60083a0a1542eab055d3edfaffected
96d63c0297ccfd6d9059c614b3f5555d9441a2b3< 2e10ecd012ae2b2a374b34f307e9bc1e6096c03daffected
… +12 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-50868

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
hwrng: amd - Fix PCI device refcount leak
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: hwrng: amd - Fix PCI device refcount leak for_each_pci_dev() is implemented by pci_get_device(). The comment of pci_get_device() says that it will increase the reference count for the returned pci_dev and also decrease the reference count for the input pci_dev @from if it is not NULL. If we break for_each_pci_dev() loop with pdev not NULL, we need to call pci_dev_put() to decrease the reference count. Add the missing pci_dev_put() for the normal and error path.
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存在安全漏洞,该漏洞源于未正确释放PCI设备引用计数,可能导致内存泄漏。
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 96d63c0297ccfd6d9059c614b3f5555d9441a2b3 ~ f1c97f72ffd504f49882774e2ab689d982dc7afc -
LinuxLinux 2.6.18 -

II. Public POCs for CVE-2022-50868

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-50868

登录查看更多情报信息。

Other References for CVE-2022-50868 (9)

Same Patch Batch · Linux · 2025-12-30 · 244 CVEs total

CVE-2023-541849.8 CRITICALscsi: target: iscsit: Free cmds before session free
CVE-2023-542239.8 CRITICALnet/mlx5e: xsk: Fix invalid buffer access for legacy rq
CVE-2023-542379.8 CRITICALnet/smc: fix potential panic dues to unprotected smc_llc_srv_add_link()
CVE-2023-542579.8 CRITICALnet: macb: fix a memory corruption in extended buffer descriptor mode
CVE-2023-542589.8 CRITICALcifs: fix potential oops in cifs_oplock_break
CVE-2023-542699.8 CRITICALSUNRPC: double free xprt_ctxt while still in use
CVE-2023-542809.8 CRITICALcifs: fix potential race when tree connecting ipc
CVE-2023-542929.8 CRITICALRDMA/irdma: Fix data race on CQP request done
CVE-2023-542039.1 CRITICALksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdr
CVE-2022-508808.8 HIGHwifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
CVE-2023-542628.8 HIGHnet/mlx5e: Don't clone flow post action attributes second time
CVE-2023-542148.8 HIGHBluetooth: L2CAP: Fix potential user-after-free
CVE-2023-541628.8 HIGHksmbd: fix possible memory leak in smb2_lock()
CVE-2023-543188.8 HIGHnet/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add
CVE-2023-542508.2 HIGHksmbd: avoid out of bounds access in decode_preauth_ctxt()
CVE-2023-541648.0 HIGHBluetooth: ISO: fix iso_conn related locking and validity issues
CVE-2023-542067.8 HIGHnet/sched: flower: fix filter idr initialization
CVE-2023-542027.8 HIGHdrm/i915: fix race condition UAF in i915_perf_add_config_ioctl
CVE-2023-542107.8 HIGHBluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()
CVE-2023-542437.8 HIGHnetfilter: ebtables: fix table blob use-after-free

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-50868

No comments yet


Leave a comment