Bug 4195 - use after free in drbd_create_device()
Summary: use after free in drbd_create_device()
Status: RESOLVED FIXED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 4.19-028.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: dongshijiang
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-23 19:13 UTC by dongshijiang
Modified: 2023-03-15 08:52 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dongshijiang inspur_group 2023-02-23 19:13:14 UTC
Description of problem:

The drbd_destroy_connection() frees the "connection" so use the _safe()
iterator to prevent a use after free.