Bug 1225399 (CVE-2021-47567) - VUL-0: CVE-2021-47567: kernel: powerpc/32: Fix hardlockup on vmap stack overflow
Summary: VUL-0: CVE-2021-47567: kernel: powerpc/32: Fix hardlockup on vmap stack overflow
Status: RESOLVED INVALID
Alias: CVE-2021-47567
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/407723/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-47567:4.1:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-27 15:39 UTC by SMASH SMASH
Modified: 2024-06-04 11:28 UTC (History)
3 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-05-27 15:39:49 UTC
In the Linux kernel, the following vulnerability has been resolved:

powerpc/32: Fix hardlockup on vmap stack overflow

Since the commit c118c7303ad5 ("powerpc/32: Fix vmap stack - Do not
activate MMU before reading task struct") a vmap stack overflow
results in a hard lockup. This is because emergency_ctx is still
addressed with its virtual address allthough data MMU is not active
anymore at that time.

Fix it by using a physical address instead.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47567
https://www.cve.org/CVERecord?id=CVE-2021-47567
https://git.kernel.org/stable/c/5bb60ea611db1e04814426ed4bd1c95d1487678e
https://git.kernel.org/stable/c/c4e3ff8b8b1d54f0c755670174c453b06e17114b
https://git.kernel.org/stable/c/dfe906da9a1abebdebe8b15bb3e66a2578f6c4c7
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2021/CVE-2021-47567.mbox