# CVE-2022-48633: drm/gma500: Fix WARN\_ON(lock-\>magic != lock) error

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2024-04-28T12:59:15.555Z
- **Modified:** 2026-08-13T00:17:25.400Z

## Who should check

- Anyone running Linux \>= 16dad99de8f2abfcec9836e2031613a713e339d2, \< 55c077d97fa67e9f19952bb24122a8316b089474; \>= 16dad99de8f2abfcec9836e2031613a713e339d2, \< b6f25c3b94f2aadbf5cbef954db4073614943d74
- Anyone running Linux 5.19

## Description

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

drm/gma500: Fix WARN\_ON(lock-\>magic != lock) error

psb\_gem\_unpin() calls dma\_resv\_lock() but the underlying ww\_mutex
gets destroyed by drm\_gem\_object\_release() move the
drm\_gem\_object\_release() call in psb\_gem\_free\_object() to after
the unpin to fix the below warning:

\[   79.693962\] ------------\[ cut here \]------------
\[   79.693992\] DEBUG\_LOCKS\_WARN\_ON(lock-\>magic != lock)
\[   79.694015\] WARNING: CPU: 0 PID: 240 at kernel/locking/mutex.c:582 \_\_ww\_mutex\_lock.constprop.0+0x569/0xfb0
\[   79.694052\] Modules linked in: rfcomm snd\_seq\_dummy snd\_hrtimer qrtr bnep ath9k ath9k\_common ath9k\_hw snd\_hda\_codec\_realtek snd\_hda\_codec\_generic ledtrig\_audio snd\_hda\_codec\_hdmi snd\_hda\_intel ath3k snd\_intel\_dspcfg mac80211 snd\_intel\_sdw\_acpi btusb snd\_hda\_codec btrtl btbcm btintel btmtk bluetooth at24 snd\_hda\_core snd\_hwdep uvcvideo snd\_seq libarc4 videobuf2\_vmalloc ath videobuf2\_memops videobuf2\_v4l2 videobuf2\_common snd\_seq\_device videodev acer\_wmi intel\_powerclamp coretemp mc snd\_pcm joydev sparse\_keymap ecdh\_generic pcspkr wmi\_bmof cfg80211 i2c\_i801 i2c\_smbus snd\_timer snd r8169 rfkill lpc\_ich soundcore acpi\_cpufreq zram rtsx\_pci\_sdmmc mmc\_core serio\_raw rtsx\_pci gma500\_gfx(E) video wmi ip6\_tables ip\_tables i2c\_dev fuse
\[   79.694436\] CPU: 0 PID: 240 Comm: plymouthd Tainted: G        W   E      6.0.0-rc3+ \#490
\[   79.694457\] Hardware name: Packard Bell dot s/SJE01\_CT, BIOS V1.10 07/23/2013
\[   79.694469\] RIP: 0010:\_\_ww\_mutex\_lock.constprop.0+0x569/0xfb0
\[   79.694496\] Code: ff 85 c0 0f 84 15 fb ff ff 8b 05 ca 3c 11 01 85 c0 0f 85 07 fb ff ff 48 c7 c6 30 cb 84 aa 48 c7 c7 a3 e1 82 aa e8 ac 29 f8 ff \<0f\> 0b e9 ed fa ff ff e8 5b 83 8a ff 85 c0 74 10 44 8b 0d 98 3c 11
\[   79.694513\] RSP: 0018:ffffad1dc048bbe0 EFLAGS: 00010282
\[   79.694623\] RAX: 0000000000000028 RBX: 0000000000000000 RCX: 0000000000000000
\[   79.694636\] RDX: 0000000000000001 RSI: ffffffffaa8b0ffc RDI: 00000000ffffffff
\[   79.694650\] RBP: ffffad1dc048bc80 R08: 0000000000000000 R09: ffffad1dc048ba90
\[   79.694662\] R10: 0000000000000003 R11: ffffffffaad62fe8 R12: ffff9ff302103138
\[   79.694675\] R13: ffff9ff306ec8000 R14: ffff9ff307779078 R15: ffff9ff3014c0270
\[   79.694690\] FS:  00007ff1cccf1740(0000) GS:ffff9ff3bc200000(0000) knlGS:0000000000000000
\[   79.694705\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[   79.694719\] CR2: 0000559ecbcb4420 CR3: 0000000013210000 CR4: 00000000000006f0
\[   79.694734\] Call Trace:
\[   79.694749\]  \<TASK\>
\[   79.694761\]  ? \_\_schedule+0x47f/0x1670
\[   79.694796\]  ? psb\_gem\_unpin+0x27/0x1a0 \[gma500\_gfx\]
\[   79.694830\]  ? lock\_is\_held\_type+0xe3/0x140
\[   79.694864\]  ? ww\_mutex\_lock+0x38/0xa0
\[   79.694885\]  ? \_\_cond\_resched+0x1c/0x30
\[   79.694902\]  ww\_mutex\_lock+0x38/0xa0
\[   79.694925\]  psb\_gem\_unpin+0x27/0x1a0 \[gma500\_gfx\]
\[   79.694964\]  psb\_gem\_unpin+0x199/0x1a0 \[gma500\_gfx\]
\[   79.694996\]  drm\_gem\_object\_release\_handle+0x50/0x60
\[   79.695020\]  ? drm\_gem\_object\_handle\_put\_unlocked+0xf0/0xf0
\[   79.695042\]  idr\_for\_each+0x4b/0xb0
\[   79.695066\]  ? \_raw\_spin\_unlock\_irqrestore+0x30/0x60
\[   79.695095\]  drm\_gem\_release+0x1c/0x30
\[   79.695118\]  drm\_file\_free.part.0+0x1ea/0x260
\[   79.695150\]  drm\_release+0x6a/0x120
\[   79.695175\]  \_\_fput+0x9f/0x260
\[   79.695203\]  task\_work\_run+0x59/0xa0
\[   79.695227\]  do\_exit+0x387/0xbe0
\[   79.695250\]  ? seqcount\_lockdep\_reader\_access.constprop.0+0x82/0x90
\[   79.695275\]  ? lockdep\_hardirqs\_on+0x7d/0x100
\[   79.695304\]  do\_group\_exit+0x33/0xb0
\[   79.695331\]  \_\_x64\_sys\_exit\_group+0x14/0x20
\[   79.695353\]  do\_syscall\_64+0x58/0x80
\[   79.695376\]  ? up\_read+0x17/0x20
\[   79.695401\]  ? lock\_is\_held\_type+0xe3/0x140
\[   79.695429\]  ? asm\_exc\_page\_fault+0x22/0x30
\[   79.695450\]  ? lockdep\_hardirqs\_on+0x7d/0x100
\[   79.695473\]  entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd
\[   79.695493\] RIP: 0033:0x7ff1ccefe3f1
\[   79.695516\] Code: Unable to access opcode bytes at RIP 0x7ff1ccefe3c7.
\[   79.695607\] RSP: 002b:00007ffed4413378 EFLAGS: 
---truncated---

## Affected and fixed versions

- Linux: \>= 16dad99de8f2abfcec9836e2031613a713e339d2, \< 55c077d97fa67e9f19952bb24122a8316b089474; \>= 16dad99de8f2abfcec9836e2031613a713e339d2, \< b6f25c3b94f2aadbf5cbef954db4073614943d74 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48633. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48633.md
Affected: Linux >= 16dad99de8f2abfcec9836e2031613a713e339d2, < 55c077d97fa67e9f19952bb24122a8316b089474; >= 16dad99de8f2abfcec9836e2031613a713e339d2, < b6f25c3b94f2aadbf5cbef954db4073614943d74; Linux 5.19
Fixed in: Linux 55c077d97fa67e9f19952bb24122a8316b089474

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48633 being exploited?

There is no confirmed exploitation: CVE-2022-48633 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48633?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48633?

Linux \>= 16dad99de8f2abfcec9836e2031613a713e339d2, \< 55c077d97fa67e9f19952bb24122a8316b089474; \>= 16dad99de8f2abfcec9836e2031613a713e339d2, \< b6f25c3b94f2aadbf5cbef954db4073614943d74; Linux 5.19.

### Is there a fix for CVE-2022-48633?

Yes. Fixed in Linux 55c077d97fa67e9f19952bb24122a8316b089474. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-48633?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/55c077d97fa67e9f19952bb24122a8316b089474>
- patch: <https://git.kernel.org/stable/c/b6f25c3b94f2aadbf5cbef954db4073614943d74>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48633>

HTML: <https://flawdb.com/CVE-2022-48633> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48633>
