Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-de
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

The Gitlab will upgrade to latest version for security in the Oct 7th (9:00 ~ 12:00 UTC+8), during the time, the Gitlab site will be offline.

  • linux-arm
  • linux-de
  • Repository
  • linux-de
  • net
  • ipv6
  • udp.c
Find file BlameHistoryPermalink
  • Paolo Abeni's avatar
    udp: fix jump label misuse · 9c480601
    Paolo Abeni authored Nov 15, 2018
    The commit 60fb9567 ("udp: implement complete book-keeping for
    encap_needed") introduced a severe misuse of jump label APIs, which
    syzbot, as reported by Eric, was able to exploit.
    
    When multiple sockets/process can concurrently request (and than
    disable) the udp encap, we need to track the activation counter with
    *_inc()/*_dec() jump label variants, or we can experience bad things
    at disable time.
    
    Fixes: 60fb9567
    
     ("udp: implement complete book-keeping for encap_needed")
    Reported-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9c480601