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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-50558— regmap-irq: Use the new num_config_regs property in regmap_add_irq_chip_fwnode

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

I. Basic Information for CVE-2022-50558

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
regmap-irq: Use the new num_config_regs property in regmap_add_irq_chip_fwnode
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: regmap-irq: Use the new num_config_regs property in regmap_add_irq_chip_fwnode Commit faa87ce9196d ("regmap-irq: Introduce config registers for irq types") added the num_config_regs, then commit 9edd4f5aee84 ("regmap-irq: Deprecate type registers and virtual registers") suggested to replace num_type_reg with it. However, regmap_add_irq_chip_fwnode wasn't modified to use the new property. Later on, commit 255a03bb1bb3 ("ASoC: wcd9335: Convert irq chip to config regs") removed the old num_type_reg property from the WCD9335 driver's struct regmap_irq_chip, causing a null pointer dereference in regmap_irq_set_type when it tried to index d->type_buf as it was never allocated in regmap_add_irq_chip_fwnode: [ 39.199374] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [ 39.200006] Call trace: [ 39.200014] regmap_irq_set_type+0x84/0x1c0 [ 39.200026] __irq_set_trigger+0x60/0x1c0 [ 39.200040] __setup_irq+0x2f4/0x78c [ 39.200051] request_threaded_irq+0xe8/0x1a0 Use num_config_regs in regmap_add_irq_chip_fwnode instead of num_type_reg, and fall back to it if num_config_regs isn't defined to maintain backward compatibility.
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存在安全漏洞,该漏洞源于regmap_add_irq_chip_fwnode未使用num_config_regs属性,可能导致空指针取消引用。
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 faa87ce9196dbb074d75bd4aecb8bacf18f19b4e ~ 57bb34330c0fc70bb4ab96399a3c1b80e73e9d49 -
LinuxLinux 6.0 -

II. Public POCs for CVE-2022-50558

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-50558

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-10-22 · 67 CVEs total

CVE-2023-53710wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read
CVE-2023-53729soc: qcom: qmi_encdec: Restrict string length in decode
CVE-2023-53727net/sched: fq_pie: avoid stalls in fq_pie_timer()
CVE-2023-53728posix-timers: Ensure timer ID search-loop limit is valid
CVE-2023-53717wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
CVE-2023-53715wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex
CVE-2023-53714drm/stm: ltdc: fix late dereference check
CVE-2023-53713arm64: sme: Use STR P to clear FFR context field in streaming SVE mode
CVE-2023-53712ARM: 9317/1: kexec: Make smp stop calls asynchronous
CVE-2023-53711NFS: Fix a potential data corruption
CVE-2023-53716net: fix skb leak in __skb_tstamp_tx()
CVE-2023-53709ring-buffer: Handle race between rb_move_tail and rb_check_pages
CVE-2023-53707drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1
CVE-2023-53708ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
CVE-2023-53705ipv6: Fix out-of-bounds access in ipv6_find_tlv()
CVE-2023-53706mm/vmemmap/devdax: fix kernel crash when probing devdax devices
CVE-2023-53704clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
CVE-2023-53702s390/crypto: use vector instructions only if available for ChaCha20
CVE-2023-53703HID: amd_sfh: Fix for shift-out-of-bounds
CVE-2023-53700media: max9286: Fix memleak in max9286_v4l2_register()

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-50558

No comments yet


Leave a comment