Bug 1220952 (CVE-2021-47086) - VUL-0: CVE-2021-47086: kernel: phonet/pep: refuse to enable an unbound pipe
Summary: VUL-0: CVE-2021-47086: kernel: phonet/pep: refuse to enable an unbound pipe
Status: NEW
Alias: CVE-2021-47086
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/396232/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-47086:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-05 10:22 UTC by SMASH SMASH
Modified: 2024-07-15 09:20 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-03-05 10:22:56 UTC
In the Linux kernel, the following vulnerability has been resolved:

phonet/pep: refuse to enable an unbound pipe

This ioctl() implicitly assumed that the socket was already bound to
a valid local socket name, i.e. Phonet object. If the socket was not
bound, two separate problems would occur:

1) We'd send an pipe enablement request with an invalid source object.
2) Later socket calls could BUG on the socket unexpectedly being
   connected yet not bound to a valid object.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47086
https://www.cve.org/CVERecord?id=CVE-2021-47086
https://lore.kernel.org/linux-cve-announce/2024030455-CVE-2021-47086-cdaa@gregkh/

Patch:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=75a2f3152009
Comment 1 Andrea Mattiazzo 2024-03-05 10:28:27 UTC
Tracking as affected:
-cve/linux-5.14

cve/linux-4.12, cve/linux-4.4, cve/linux-5.3 not affected due to CONFIG_PHONET not set

SLE15-SP6 and stable already fixed
Comment 3 Petr Mladek 2024-03-05 14:48:02 UTC
Michal, could you please look at it?