Searched hist:341934 (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.cdiff 341934 Wed Dec 12 12:26:26 MST 2018 hselasky MFC r341560:
mlx5: Fix use-after-free in self-healing flow

When the mlx5 health mechanism detects a problem while the driver
is in the middle of init_one or remove_one, the driver needs to prevent
the health mechanism from scheduling future work; if future work
is scheduled, there is a problem with use-after-free: the system WQ
tries to run the work item (which has been freed) at the scheduled
future time.

Prevent this by disabling work item scheduling in the health mechanism
when the driver is in the middle of init_one() or remove_one().

Sponsored by: Mellanox Technologies
H A Dmlx5_main.cdiff 341934 Wed Dec 12 12:26:26 MST 2018 hselasky MFC r341560:
mlx5: Fix use-after-free in self-healing flow

When the mlx5 health mechanism detects a problem while the driver
is in the middle of init_one or remove_one, the driver needs to prevent
the health mechanism from scheduling future work; if future work
is scheduled, there is a problem with use-after-free: the system WQ
tries to run the work item (which has been freed) at the scheduled
future time.

Prevent this by disabling work item scheduling in the health mechanism
when the driver is in the middle of init_one() or remove_one().

Sponsored by: Mellanox Technologies
/freebsd-11-stable/sys/dev/mlx5/
H A Ddriver.hdiff 341934 Wed Dec 12 12:26:26 MST 2018 hselasky MFC r341560:
mlx5: Fix use-after-free in self-healing flow

When the mlx5 health mechanism detects a problem while the driver
is in the middle of init_one or remove_one, the driver needs to prevent
the health mechanism from scheduling future work; if future work
is scheduled, there is a problem with use-after-free: the system WQ
tries to run the work item (which has been freed) at the scheduled
future time.

Prevent this by disabling work item scheduling in the health mechanism
when the driver is in the middle of init_one() or remove_one().

Sponsored by: Mellanox Technologies

Completed in 304 milliseconds