Net Recognized Gains (Losses) on Equity Investments (Detail) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] | ||||
| Net realized gains (losses) on investments sold | $ (8) | $ 31 | $ 75 | $ 68 |
| Net unrealized gains (losses) on investments still held | (7) | 268 | (35) | 593 |
| Total | (15) | 300 | (2) | 671 |
| Equity Securities | ||||
| Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] | ||||
| Impairments of investments | (9) | 0 | (16) | 0 |
| Total | $ (24) | $ 299 | $ 24 | $ 661 |