In exit counseling, and the U.S. Department of Education, if the borrower of a student loan dies, the debt is cancelled and the loan is forgiven.
If you, the borrower, die, then your federal student loans will be discharged. If you are a parent PLUS loan borrower, then the loan may be discharged if you die, or if the student on whose behalf you obtained the loan dies.
https://studentaid.ed.gov/sa/repay-loans/forgiveness-cancellation under Death Discharge.
It also mentions the case of the parent loan mentioning that if either party dies, the loan is cancelled, so it can be assumed that in the event that the student dies, there will be no issue of having got pay back the loan.