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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-52531— wifi: iwlwifi: mvm: Fix a memory corruption issue

EPSS 0.01% · P3
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-52531

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
wifi: iwlwifi: mvm: Fix a memory corruption issue
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: Fix a memory corruption issue A few lines above, space is kzalloc()'ed for: sizeof(struct iwl_nvm_data) + sizeof(struct ieee80211_channel) + sizeof(struct ieee80211_rate) 'mvm->nvm_data' is a 'struct iwl_nvm_data', so it is fine. At the end of this structure, there is the 'channels' flex array. Each element is of type 'struct ieee80211_channel'. So only 1 element is allocated in this array. When doing: mvm->nvm_data->bands[0].channels = mvm->nvm_data->channels; We point at the first element of the 'channels' flex array. So this is fine. However, when doing: mvm->nvm_data->bands[0].bitrates = (void *)((u8 *)mvm->nvm_data->channels + 1); because of the "(u8 *)" cast, we add only 1 to the address of the beginning of the flex array. It is likely that we want point at the 'struct ieee80211_rate' allocated just after. Remove the spurious casting so that the pointer arithmetic works as expected.
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存在安全漏洞,该漏洞源于存在内存损坏问题。
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 8ca151b568b67a7b72dcfc6ee6ea7c107ddd795c ~ 7c8faa31080342aec4903c9acb20caf82fcca1ef -
LinuxLinux 3.9 -

II. Public POCs for CVE-2023-52531

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52531

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-03-02 · 57 CVEs total

CVE-2023-52563drm/meson: fix memory leak on ->hpd_notify callback
CVE-2023-52581netfilter: nf_tables: fix memleak when more than 255 elements expired
CVE-2023-52574team: fix null-ptr-deref when team device type is changed
CVE-2023-52578net: bridge: use DEV_STATS_INC()
CVE-2023-52577dccp: fix dccp_v4_err()/dccp_v6_err() again
CVE-2023-52576x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()
CVE-2023-52580net/core: Fix ETH_P_1588 flow dissector
CVE-2023-52566nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
CVE-2023-52565media: uvcvideo: Fix OOB read
CVE-2023-52564Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
CVE-2023-52567serial: 8250_port: Check IRQ data before use
CVE-2023-52562mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()
CVE-2023-52561arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved
CVE-2023-52560mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()
CVE-2023-52559iommu/vt-d: Avoid memory allocation in iommu_suspend()
CVE-2023-52518Bluetooth: hci_codec: Fix leaking content of local_codecs
CVE-2023-52532net: mana: Fix TX CQE error handling
CVE-2023-52530wifi: mac80211: fix potential key use-after-free
CVE-2023-52529HID: sony: Fix a potential memory leak in sony_probe()
CVE-2023-52528net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg

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

IV. Related Vulnerabilities

V. Comments for CVE-2023-52531

No comments yet


Leave a comment