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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-46904— net: hso: fix null-ptr-deref during tty device unregistration

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于tty设备注销期间存在NULL指针取消引用问题。

AI Predicted 7.8 Difficulty: Moderate EPSS 0.26% · P16

Possible ATT&CK Techniques 1 AI

T1200 · Hardware Additions

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 72dc1c096c7051a48ab1dbb12f71976656b55eb5< a462067d7c8e6953a733bf5ade8db947b1bb5449 affected
72dc1c096c7051a48ab1dbb12f71976656b55eb5< 145c89c441d27696961752bf51b323f347601bee affected
72dc1c096c7051a48ab1dbb12f71976656b55eb5< caf5ac93b3b5d5fac032fc11fbea680e115421b4 affected
72dc1c096c7051a48ab1dbb12f71976656b55eb5< 92028d7a31e55d53e41cff679156b9432cffcb36 affected
72dc1c096c7051a48ab1dbb12f71976656b55eb5< 4a2933c88399c0ebc738db39bbce3ae89786d723 affected
72dc1c096c7051a48ab1dbb12f71976656b55eb5< dc195928d7e4ec7b5cfc6cd10dc4c8d87a7c72ac affected
72dc1c096c7051a48ab1dbb12f71976656b55eb5< 388d05f70f1ee0cac4a2068fd295072f1a44152a affected
72dc1c096c7051a48ab1dbb12f71976656b55eb5< 8a12f8836145ffe37e9c8733dce18c22fb668b66 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-46904

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
net: hso: fix null-ptr-deref during tty device unregistration
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: hso: fix null-ptr-deref during tty device unregistration Multiple ttys try to claim the same the minor number causing a double unregistration of the same device. The first unregistration succeeds but the next one results in a null-ptr-deref. The get_free_serial_index() function returns an available minor number but doesn't assign it immediately. The assignment is done by the caller later. But before this assignment, calls to get_free_serial_index() would return the same minor number. Fix this by modifying get_free_serial_index to assign the minor number immediately after one is found to be and rename it to obtain_minor() to better reflect what it does. Similary, rename set_serial_by_index() to release_minor() and modify it to free up the minor number of the given hso_serial. Every obtain_minor() should have corresponding release_minor() call.
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存在安全漏洞,该漏洞源于tty设备注销期间存在NULL指针取消引用问题。
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

Vendor Product Affected Versions CPE Subscribe
Linux Linux 72dc1c096c7051a48ab1dbb12f71976656b55eb5 ~ a462067d7c8e6953a733bf5ade8db947b1bb5449 -
Linux Linux 2.6.27 -

II. Public POCs for CVE-2021-46904

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-46904

请登录查看更多情报信息。

Other References for CVE-2021-46904 (8)

Same Patch Batch · Linux · 2024-02-25 · 11 CVEs total

CVE-2023-52469 7.8 HIGH drivers/amd/pm: fix a use-after-free in kv_parse_power_table
CVE-2023-52465 power: supply: Fix null pointer dereference in smb2_probe
CVE-2023-52467 mfd: syscon: Fix null pointer dereference in of_syscon_register()
CVE-2023-52468 class: fix use-after-free in class_register()
CVE-2023-52470 drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()
CVE-2023-52471 ice: Fix some null pointer dereference issues in ice_ptp.c
CVE-2023-52472 crypto: rsa - add a check for allocation failure
CVE-2023-52473 thermal: core: Fix NULL pointer dereference in zone registration error path
CVE-2021-46905 net: hso: fix NULL-deref on disconnect regression
CVE-2022-48626 moxart: fix potential use-after-free on remove path

IV. Related Vulnerabilities

V. Comments for CVE-2021-46904

No comments yet


Leave a comment