CVE-2022-49172

Source
https://cve.org/CVERecord?id=CVE-2022-49172
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49172.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49172
Downstream
Published
2025-02-26T01:55:28.628Z
Modified
2026-04-02T08:27:21.706331Z
Summary
parisc: Fix non-access data TLB cache flush faults
Details

In the Linux kernel, the following vulnerability has been resolved:

parisc: Fix non-access data TLB cache flush faults

When a page is not present, we get non-access data TLB faults from the fdc and fic instructions in flushuserdcacherangeasm and flushusericacherangeasm. When these occur, the cache line is not invalidated and potentially we get memory corruption. The problem was hidden by the nullification of the flush instructions.

These faults also affect performance. With pa8800/pa8900 processors, there will be 32 faults per 4 KB page since the cache line is 128 bytes. There will be more faults with earlier processors.

The problem is fixed by using flushcachepages(). It does the flush using a tmp alias mapping.

The flushcachepages() call in flushcacherange() flushed too large a range.

V2: Remove unnecessary preemptdisable() and preemptenable() calls.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49172.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
b3d6adb3a49d82e4e557c5fc16f50c9ff731da5d
Fixed
ddca4b82027e2a66333dd40fab21a4beff435c7e
Fixed
f839e5f1cef36ce268950c387129b1bfefdaebc9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49172.json"