# CVE-2022-49172: parisc: Fix non-access data TLB cache flush faults

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-02-26T01:55:28.628Z
- Modified: 2026-08-05T08:54:14.479Z
- Assigned by: Linux

## Description

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 flush_user_dcache_range_asm and
flush_user_icache_range_asm. 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 flush_cache_pages(). It does the flush
using a tmp alias mapping.

The flush_cache_pages() call in flush_cache_range() flushed too
large a range.

V2: Remove unnecessary preempt_disable() and preempt_enable() calls.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b3d6adb3a49d82e4e557c5fc16f50c9ff731da5d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ddca4b82027e2a66333dd40fab21a4beff435c7e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f839e5f1cef36ce268950c387129b1bfefdaebc9; 2.6.12 (not affected: before 2.6.12; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: before 5.16.19; from 5.17 before 5.17.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/b3d6adb3a49d82e4e557c5fc16f50c9ff731da5d> (patch)
- <https://git.kernel.org/stable/c/ddca4b82027e2a66333dd40fab21a4beff435c7e> (patch)
- <https://git.kernel.org/stable/c/f839e5f1cef36ce268950c387129b1bfefdaebc9> (patch)

## Sources

- CVE List: [CVE-2022-49172](https://www.cve.org/CVERecord?id=CVE-2022-49172), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49172](https://nvd.nist.gov/vuln/detail/CVE-2022-49172), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49172 · Whole record: https://cve.day/CVE-2022-49172.json · Rebuilt by cve.day 2026-11-25T22:58:20.247Z
