# CVE-2023-53747: vc\_screen: reload load of struct vc\_data pointer in vcs\_write() to avoid UAF

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.23% (percentile 8, 2026-11-26)
- **Published:** 2025-12-08T01:19:06.255Z
- **Modified:** 2026-10-15T22:17:47.940Z

## Who should check

- Anyone running Linux \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 934de9a9b659785fed3e820bc0c813a460c71fea; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 0deff678157333d775af190f84696336cdcccd6d; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< a4e3c4c65ae8510e01352c9a4347e05c035b2ce2; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 11dddfbb7a4e62489b01074d6c04d9d1b42e4047; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< e3d1adcad5b73c7ed0c7edb35ab68abcaa45cf67; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 3338d0b9acde770ee588eead5cac32c25e7048fc; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 1de42e7653d6714a7507ba6696151a1fa028c69f; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357
- Anyone running Linux 2.6.38

## Description

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

vc\_screen: reload load of struct vc\_data pointer in vcs\_write() to avoid UAF

After a call to console\_unlock() in vcs\_write() the vc\_data struct can be
freed by vc\_port\_destruct(). Because of that, the struct vc\_data pointer
must be reloaded in the while loop in vcs\_write() after console\_lock() to
avoid a UAF when vcs\_size() is called.

Syzkaller reported a UAF in vcs\_size().

BUG: KASAN: slab-use-after-free in vcs\_size (drivers/tty/vt/vc\_screen.c:215)
Read of size 4 at addr ffff8880beab89a8 by task repro\_vcs\_size/4119

Call Trace:
 \<TASK\>
\_\_asan\_report\_load4\_noabort (mm/kasan/report\_generic.c:380)
vcs\_size (drivers/tty/vt/vc\_screen.c:215)
vcs\_write (drivers/tty/vt/vc\_screen.c:664)
vfs\_write (fs/read\_write.c:582 fs/read\_write.c:564)
...
 \<TASK\>

Allocated by task 1213:
kmalloc\_trace (mm/slab\_common.c:1064)
vc\_allocate (./include/linux/slab.h:559 ./include/linux/slab.h:680
    drivers/tty/vt/vt.c:1078 drivers/tty/vt/vt.c:1058)
con\_install (drivers/tty/vt/vt.c:3334)
tty\_init\_dev (drivers/tty/tty\_io.c:1303 drivers/tty/tty\_io.c:1415
    drivers/tty/tty\_io.c:1392)
tty\_open (drivers/tty/tty\_io.c:2082 drivers/tty/tty\_io.c:2128)
chrdev\_open (fs/char\_dev.c:415)
do\_dentry\_open (fs/open.c:921)
vfs\_open (fs/open.c:1052)
...

Freed by task 4116:
kfree (mm/slab\_common.c:1016)
vc\_port\_destruct (drivers/tty/vt/vt.c:1044)
tty\_port\_destructor (drivers/tty/tty\_port.c:296)
tty\_port\_put (drivers/tty/tty\_port.c:312)
vt\_disallocate\_all (drivers/tty/vt/vt\_ioctl.c:662 (discriminator 2))
vt\_ioctl (drivers/tty/vt/vt\_ioctl.c:903)
tty\_ioctl (drivers/tty/tty\_io.c:2778)
...

The buggy address belongs to the object at ffff8880beab8800
 which belongs to the cache kmalloc-1k of size 1024
The buggy address is located 424 bytes inside of
 freed 1024-byte region \[ffff8880beab8800, ffff8880beab8c00)

The buggy address belongs to the physical page:
page:00000000afc77580 refcount:1 mapcount:0 mapping:0000000000000000
    index:0x0 pfn:0xbeab8
head:00000000afc77580 order:3 entire\_mapcount:0 nr\_pages\_mapped:0
    pincount:0
flags: 0xfffffc0010200(slab\|head\|node=0\|zone=1\|lastcpupid=0x1fffff)
page\_type: 0xffffffff()
raw: 000fffffc0010200 ffff888100042dc0 ffffea000426de00 dead000000000002
raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff8880beab8880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8880beab8900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
\>ffff8880beab8980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                  ^
 ffff8880beab8a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8880beab8a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
Disabling lock debugging due to kernel taint

## Affected and fixed versions

- Linux: \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 934de9a9b659785fed3e820bc0c813a460c71fea; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 0deff678157333d775af190f84696336cdcccd6d; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< a4e3c4c65ae8510e01352c9a4347e05c035b2ce2; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 11dddfbb7a4e62489b01074d6c04d9d1b42e4047; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< e3d1adcad5b73c7ed0c7edb35ab68abcaa45cf67; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 3338d0b9acde770ee588eead5cac32c25e7048fc; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 1de42e7653d6714a7507ba6696151a1fa028c69f; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357 (cvelist)
- Linux: 2.6.38 (cvelist)

## Mitigation

- Upgrade Linux to 8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53747.md
Affected: Linux >= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, < 934de9a9b659785fed3e820bc0c813a460c71fea; >= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, < 0deff678157333d775af190f84696336cdcccd6d; >= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, < a4e3c4c65ae8510e01352c9a4347e05c035b2ce2; >= ac751efa6a0d70f2c9daef5…
Fixed in: Linux 934de9a9b659785fed3e820bc0c813a460c71fea, Linux 0deff678157333d775af190f84696336cdcccd6d, Linux 11dddfbb7a4e62489b01074d6c04d9d1b42e4047, Linux 3338d0b9acde770ee588eead5cac32c25e7048fc, Linux 1de42e7653d6714a7507ba6696151a1fa028c69f, Linux 8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357

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-2023-53747 being exploited?

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

### How serious is CVE-2023-53747?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53747?

Linux \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 934de9a9b659785fed3e820bc0c813a460c71fea; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 0deff678157333d775af190f84696336cdcccd6d; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< a4e3c4c65ae8510e01352c9a4347e05c035b2ce2; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 11dddfbb7a4e62489b01074d6c04d9d1b42e4047; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< e3d1adcad5b73c7ed0c7edb35ab68abcaa45cf67; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 3338d0b9acde770ee588eead5cac32c25e7048fc; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 1de42e7653d6714a7507ba6696151a1fa028c69f; \>= ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff, \< 8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357; Linux 2.6.38.

### Is there a fix for CVE-2023-53747?

Yes. Fixed in Linux 934de9a9b659785fed3e820bc0c813a460c71fea, Linux 0deff678157333d775af190f84696336cdcccd6d, Linux 11dddfbb7a4e62489b01074d6c04d9d1b42e4047, Linux 3338d0b9acde770ee588eead5cac32c25e7048fc, Linux 1de42e7653d6714a7507ba6696151a1fa028c69f, Linux 8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357. Upgrade Linux to 8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357 or later.

### How do I check if I'm affected by CVE-2023-53747?

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

- other: <https://git.kernel.org/stable/c/934de9a9b659785fed3e820bc0c813a460c71fea>
- other: <https://git.kernel.org/stable/c/0deff678157333d775af190f84696336cdcccd6d>
- other: <https://git.kernel.org/stable/c/a4e3c4c65ae8510e01352c9a4347e05c035b2ce2>
- other: <https://git.kernel.org/stable/c/11dddfbb7a4e62489b01074d6c04d9d1b42e4047>
- other: <https://git.kernel.org/stable/c/e3d1adcad5b73c7ed0c7edb35ab68abcaa45cf67>
- other: <https://git.kernel.org/stable/c/3338d0b9acde770ee588eead5cac32c25e7048fc>
- other: <https://git.kernel.org/stable/c/1de42e7653d6714a7507ba6696151a1fa028c69f>
- other: <https://git.kernel.org/stable/c/8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357>

## 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-2023-53747>

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