Bug 1221975 (CVE-2021-47147) - VUL-0: CVE-2021-47147: kernel: ptp: ocp: Fix a resource leak in an error handling path
Summary: VUL-0: CVE-2021-47147: kernel: ptp: ocp: Fix a resource leak in an error hand...
Status: RESOLVED FIXED
Alias: CVE-2021-47147
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/398794/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-47147:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 10:49 UTC by SMASH SMASH
Modified: 2024-06-12 11:56 UTC (History)
2 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-26 10:49:25 UTC
In the Linux kernel, the following vulnerability has been resolved:

ptp: ocp: Fix a resource leak in an error handling path

If an error occurs after a successful 'pci_ioremap_bar()' call, it must be
undone by a corresponding 'pci_iounmap()' call, as already done in the
remove function.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47147
https://www.cve.org/CVERecord?id=CVE-2021-47147
https://git.kernel.org/stable/c/0e38e702f1152479e6afac34f151dbfd99417f99
https://git.kernel.org/stable/c/9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4
https://bugzilla.redhat.com/show_bug.cgi?id=2271496
Comment 1 Gabriele Sonnu 2024-03-26 10:57:59 UTC
Offending commit (a7e1abad13f3) found in:
 - ALP-current
 - cve/linux-5.14-LTSS
 - SLE15-SP4-LTSS
 - SLE15-SP5
 - SLE15-SP6
 - stable

Fixing commit (9c1bb37f8cad) found in:
 - ALP-current
 - cve/linux-5.14-LTSS
 - SLE15-SP4-LTSS
 - SLE15-SP5
 - SLE15-SP6
 - stable

All branches fixed. @kernel-team, please add the CVE reference.
Comment 2 Gabriel Krisman Bertazi 2024-04-26 23:12:32 UTC
All refs added. back to the security team.
Comment 3 Gabriele Sonnu 2024-06-12 11:56:23 UTC
All done, closing.