---
id: CVE-2022-50114
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  net: 9p: fix refcount leak in p9_read_work() error handling

  p9_req_put need to be called when m->rreq->rc.sdata is NULL to avoid
  temporary refcount leak.

  [Dominique: …
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  net: 9p: fix refcount leak in p9_read_work() error handling

  p9_req_put need to be called when m->rreq->rc.sdata is NULL to avoid
  temporary refcount leak.

  [Dominique: …
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.19.57, < 5.15.61'
  - 'linux_kernel >= 5.16, < 5.18.18'
  - 'linux_kernel >= 5.19, < 5.19.2'
patched:
  - linux_kernel 5.19.2
published: '2025-06-18'
updated: '2026-07-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-50114'
references:
  - url: 'https://git.kernel.org/stable/c/34b9a188557c1d5a50e07cf228d054101aee0af3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4ac7573e1f9333073fa8d303acc941c9b7ab7f61'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/622f2a467bdfbce73fd43ea74b5f0fd2caaa8c5d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8324649b0035cbb30ebc3ca901540cb392e89041'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9bc63a124cc20a69a126e45e3d593d5807bb5258'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.0019
epssPercentile: 0.07644
ingestedAt: '2026-07-04T12:56:09.230Z'
---

## Overview

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

net: 9p: fix refcount leak in p9_read_work() error handling

p9_req_put need to be called when m->rreq->rc.sdata is NULL to avoid
temporary refcount leak.

[Dominique: commit wording adjustments, p9_req_put argument fixes for rebase]

## Affected

- `linux_kernel >= 4.19.57, < 5.15.61`
- `linux_kernel >= 5.16, < 5.18.18`
- `linux_kernel >= 5.19, < 5.19.2`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.19.2`
