Advisory

UBUNTU-CVE-2018-12232

Also known as: CVE-2018-12232

Summary

The record has no summary.

Details

In net/socket.c in the Linux kernel through 4.17.1, there is a race condition between fchownat and close in cases where they target the same socket file descriptor, related to the sock_close and sockfs_setattr functions. fchownat does not increment the file descriptor reference count, which allows close to set the socket to NULL during fchownat's execution, leading to a NULL pointer dereference and system crash.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2018-06-12 00:00 UTC
Modified
2026-04-22 11:42 UTC

Affected packages and fixes

linux-azure

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 4.15.0-1022.22~16.04.1 (ecosystem)

Fixed versions

4.15.0-1022.22~16.04.1

Fix

  • Fixed version 4.15.0-1022.22~16.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

linux-gcp

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 4.15.0-1018.19~16.04.2 (ecosystem)

Fixed versions

4.15.0-1018.19~16.04.2

Fix

  • Fixed version 4.15.0-1018.19~16.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

linux-hwe

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 4.15.0-33.36~16.04.1 (ecosystem)

Fixed versions

4.15.0-33.36~16.04.1

Fix

  • Fixed version 4.15.0-33.36~16.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

linux

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 4.15.0-33.36 (ecosystem)

Fixed versions

4.15.0-33.36

Fix

  • Fixed version 4.15.0-33.36
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

linux-aws

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 4.15.0-1020.20 (ecosystem)

Fixed versions

4.15.0-1020.20

Fix

  • Fixed version 4.15.0-1020.20
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

linux-azure

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 4.15.0-1022.23 (ecosystem)

Fixed versions

4.15.0-1022.23

Fix

  • Fixed version 4.15.0-1022.23
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

linux-gcp

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 4.15.0-1018.19 (ecosystem)

Fixed versions

4.15.0-1018.19

Fix

  • Fixed version 4.15.0-1018.19
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

linux-kvm

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 4.15.0-1020.20 (ecosystem)

Fixed versions

4.15.0-1020.20

Fix

  • Fixed version 4.15.0-1020.20
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

linux-oem

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 4.15.0-1017.20 (ecosystem)

Fixed versions

4.15.0-1017.20

Fix

  • Fixed version 4.15.0-1017.20
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

linux-raspi2

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 4.15.0-1021.23 (ecosystem)

Fixed versions

4.15.0-1021.23

Fix

  • Fixed version 4.15.0-1021.23
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences