Skip to content

Use-after-free by mutating set during set operations #90773

Closed
@sweeneyde

Description

@sweeneyde
BPO 46615
Nosy @tim-one, @rhettinger, @serhiy-storchaka, @miss-islington, @sweeneyde
PRs
  • bpo-46615: Don't crash when set operations mutate the sets #31120
  • [3.10] bpo-46615: Don't crash when set operations mutate the sets (GH-31120) #31284
  • [3.9] bpo-46615: Don't crash when set operations mutate the sets (GH-31120) #31312
  • Files
  • picklecrasher.py: Randomized crasher for uses of PyDict_Next in _pickle.c
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2022-02-02.18:01:22.729>
    labels = ['interpreter-core', '3.10', '3.9', 'type-crash', '3.11']
    title = 'Use-after-free by mutating set during set operations'
    updated_at = <Date 2022-02-19.05:24:06.142>
    user = 'https://github.com/sweeneyde'

    bugs.python.org fields:

    activity = <Date 2022-02-19.05:24:06.142>
    actor = 'Dennis Sweeney'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2022-02-02.18:01:22.729>
    creator = 'Dennis Sweeney'
    dependencies = []
    files = ['50631']
    hgrepos = []
    issue_num = 46615
    keywords = ['patch']
    message_count = 13.0
    messages = ['412386', '412387', '412389', '412444', '412448', '412487', '412489', '412494', '413085', '413097', '413175', '413176', '413530']
    nosy_count = 5.0
    nosy_names = ['tim.peters', 'rhettinger', 'serhiy.storchaka', 'miss-islington', 'Dennis Sweeney']
    pr_nums = ['31120', '31284', '31312']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue46615'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions