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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-40030— pinctrl: check the return value of pinmux_ops::get_function_name()

EPSS 0.06% · P18

Affected Version Matrix 18

VendorProductVersion RangeStatus
LinuxLinuxf913cfce4ee49a3382a9ff95696f49a46e56e974< 1a7fc8fed2bb2e113604fde7a45432ace2056b97affected
f913cfce4ee49a3382a9ff95696f49a46e56e974< e7265dc4c670b89611bcf5fe33acf99bc0aa294faffected
f913cfce4ee49a3382a9ff95696f49a46e56e974< d77ef2f621cd1d605372c4c6ce667c496f6990c3affected
f913cfce4ee49a3382a9ff95696f49a46e56e974< ba7f7c2b2b3261e7def67018c38c69b626e0e66eaffected
f913cfce4ee49a3382a9ff95696f49a46e56e974< 1a2ea887a5cd7d47bab599f733d89444df018b1aaffected
f913cfce4ee49a3382a9ff95696f49a46e56e974< 688c688e0bf55824f4a38f8c2180046f089a3e3baffected
f913cfce4ee49a3382a9ff95696f49a46e56e974< b7e0535060a60cc99eafc19cc665d979714cd73aaffected
f913cfce4ee49a3382a9ff95696f49a46e56e974< 4002ee98c022d671ecc1e4a84029e9ae7d8a5603affected
… +10 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-40030

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
pinctrl: check the return value of pinmux_ops::get_function_name()
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: pinctrl: check the return value of pinmux_ops::get_function_name() While the API contract in docs doesn't specify it explicitly, the generic implementation of the get_function_name() callback from struct pinmux_ops - pinmux_generic_get_function_name() - can fail and return NULL. This is already checked in pinmux_check_ops() so add a similar check in pinmux_func_name_to_selector() instead of passing the returned pointer right down to strcmp() where the NULL can get dereferenced. This is normal operation when adding new pinfunctions.
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存在安全漏洞,该漏洞源于未检查pinmux_ops::get_function_name返回值,可能导致空指针取消引用。
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 f913cfce4ee49a3382a9ff95696f49a46e56e974 ~ 1a7fc8fed2bb2e113604fde7a45432ace2056b97 -
LinuxLinux 4.19 -

II. Public POCs for CVE-2025-40030

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-40030

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-10-28 · 58 CVEs total

CVE-2025-40064smc: Fix use-after-free in __pnet_find_base_ndev().
CVE-2025-40075tcp_metrics: use dst_dev_net_rcu()
CVE-2025-40078bpf: Explicitly check accesses to bpf_sock_addr
CVE-2025-40079riscv, bpf: Sign extend struct ops return values properly
CVE-2025-40077f2fs: fix to avoid overflow while left shift operation
CVE-2025-40081perf: arm_spe: Prevent overflow in PERF_IDX2OFF()
CVE-2025-40068fs: ntfs3: Fix integer overflow in run_unpack()
CVE-2025-40067fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist
CVE-2025-40066wifi: mt76: mt7996: Check phy before init msta_link in mt7996_mac_sta_add_links()
CVE-2025-40065RISC-V: KVM: Write hgatp register with valid mode bits
CVE-2025-40069drm/msm: Fix obj leak in VM_BIND error path
CVE-2025-40063crypto: comp - Use same definition of context alloc and free ops
CVE-2025-40062crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs
CVE-2025-40061RDMA/rxe: Fix race in do_task() when draining
CVE-2025-40060coresight: trbe: Return NULL pointer for allocation failures
CVE-2025-40058iommu/vt-d: Disallow dirty tracking if incoherent page walk
CVE-2025-40059coresight: Fix incorrect handling for return value of devm_kzalloc
CVE-2025-40057ptp: Add a upper bound on max_vclocks
CVE-2025-40056vhost: vringh: Fix copy_to_iter return value check
CVE-2025-40055ocfs2: fix double free in user_cluster_connect()

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-40030

No comments yet


Leave a comment