Artificial intelligent assistant

How to determine which modules are responsible for spectre_v2? SERVER:~ # cat /sys/devices/system/cpu/vulnerabilities/spectre_v2 Mitigation: Full generic retpoline, IBPB, STIBP, RSB filling - vulnerable module loaded SERVER:~ # **The question** : But how to detect, which module in lsmod (?) is vulnerable to spectre_v2? SLES 12.3.

SERVER:~ # awk '{module=$1; retpcheck="modinfo "module" | grep -c retpoline"; retpcheck | getline found; close(retpcheck); if (!found) {print "VULNERABLE - No Retpoline found - "module}}' /proc/modules
VULNERABLE - No Retpoline found - mlx4_ib
VULNERABLE - No Retpoline found - mlx4_en
VULNERABLE - No Retpoline found - mlx4_core
VULNERABLE - No Retpoline found - mlx5_ib
VULNERABLE - No Retpoline found - mlx5_core
VULNERABLE - No Retpoline found - mlxfw
VULNERABLE - No Retpoline found - mlx_compat
SERVER:~ #

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 9f0c019a97c3d89b1d81e84af5e59573