Skip to content

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

Description

@sweeneyde
BPO46615
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=Noneclosed_at=Nonecreated_at=<Date2022-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=<Date2022-02-19.05:24:06.142>user='https://github.com/sweeneyde'

    bugs.python.org fields:

    activity=<Date2022-02-19.05:24:06.142>actor='Dennis Sweeney'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Interpreter Core']
    creation=<Date2022-02-02.18:01:22.729>creator='Dennis Sweeney'dependencies= []
    files= ['50631']
    hgrepos= []
    issue_num=46615keywords= ['patch']
    message_count=13.0messages= ['412386', '412387', '412389', '412444', '412448', '412487', '412489', '412494', '413085', '413097', '413175', '413176', '413530']
    nosy_count=5.0nosy_names= ['tim.peters', 'rhettinger', 'serhiy.storchaka', 'miss-islington', 'Dennis Sweeney']
    pr_nums= ['31120', '31284', '31312']
    priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='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.9 (EOL)end of lifeinterpreter-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